Skip to content

Commit

Permalink
fixing unused validate
Browse files Browse the repository at this point in the history
  • Loading branch information
pierreln-dd committed Jan 3, 2024
1 parent 56af17c commit b9233ec
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions datadog/dogshell/monitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -434,8 +434,6 @@ def _validate(cls, args):
options = None
if args.options is not None:
options = json.loads(args.options)
if args.restricted_roles:
to_update["restricted_roles"] = sorted(set([rr.strip() for rr in args.tags.split(",") if rr.strip()]))
if args.tags:
tags = sorted(set([t.strip() for t in args.tags.split(",") if t.strip()]))
else:
Expand Down

0 comments on commit b9233ec

Please sign in to comment.