Skip to content

Commit

Permalink
adapt to lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Juliana Gerhardt committed Feb 19, 2025
1 parent 848a80f commit da5cf30
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 da5cf30

Please sign in to comment.