Skip to content

Commit

Permalink
Fnal fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sdodsley authored Sep 18, 2024
1 parent 2846516 commit 7126bef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/modules/purefa_dirsnap.py
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ def create_snap(module, array):
changed = True
if not module.check_mode:
if not module.params["keep_for"] or module.params["keep_for"] == 0:
keep_for = 0
keep_for = None
elif 300 <= module.params["keep_for"] <= 31536000:
keep_for = module.params["keep_for"] * 1000
else:
Expand Down

0 comments on commit 7126bef

Please sign in to comment.