Skip to content

Commit

Permalink
fix minor bug in last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
jantman committed Jan 12, 2021
1 parent 44b7e5c commit 8b108ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manheim_c7n_tools/notifyonly.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,6 @@ def _fix_untag_action(item: dict) -> dict:
:rtype: dict
"""
if 'tags' not in item:
item['tags'] = [f'{DEFAULT_TAG}-notify-only']
item['tags'] = [f'{DEFAULT_TAG}']
item['tags'] = [f'{tag}-notify-only' for tag in item['tags']]
return item

0 comments on commit 8b108ee

Please sign in to comment.