Skip to content

Commit

Permalink
Merge pull request #61 from svalabs/update_exclusions
Browse files Browse the repository at this point in the history
adapt to lint
  • Loading branch information
ubuntujule authored Feb 19, 2025
2 parents 82a6ae1 + da5cf30 commit e7b6253
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/modules/sentinelone_path_exclusions.py
Original file line number Diff line number Diff line change
Expand Up @@ -564,15 +564,15 @@ def run_module():
exclusion_obj.create_exclusions(module)

else:
basic_message.append(f"Nothing to change, all desired changes are already set")
basic_message.append("Nothing to change, all desired changes are already set")

else:
if current_exclusions['pagination']['totalItems'] != 0:
# Exclusions should be deleted
exclusion_obj.delete_exclusions(module)
diffs.append({'changes': 'Deleted all exclusions in Scope'})
else:
basic_message.append(f"Nothing to change, exclusion does not exist")
basic_message.append("Nothing to change, exclusion does not exist")

result = dict(
changed=False,
Expand Down

0 comments on commit e7b6253

Please sign in to comment.