mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Fixes pre/post snapshot order to get the inverse status
This commit is contained in:
parent
68d5475c1f
commit
1e6ba45db4
@ -180,7 +180,7 @@ def baseline_snapshot(name, number=None, tag=None, include_diff=True, config='ro
|
||||
number = snapshot['id']
|
||||
|
||||
status = __salt__['snapper.status'](
|
||||
config, num_pre=number, num_post=0)
|
||||
config, num_pre=0, num_post=number)
|
||||
|
||||
for target in ignore:
|
||||
if os.path.isfile(target):
|
||||
|
Loading…
Reference in New Issue
Block a user