diff options
author | Greg DeKoenigsberg <greg.dekoenigsberg@gmail.com> | 2015-06-01 12:07:23 -0400 |
---|---|---|
committer | Greg DeKoenigsberg <greg@eucalyptus.com> | 2015-06-16 11:33:13 -0400 |
commit | 432477c14c0a34b01d6e8ee959b6bbf44156cfc2 (patch) | |
tree | 1acbbf8fb74e2ac31fedeba1ca69968c598fc99d /monitoring/datadog_event.py | |
parent | a77de166c4621a39316ca35fe35c8fc6c2a28e0f (diff) | |
download | ansible-modules-extras-432477c14c0a34b01d6e8ee959b6bbf44156cfc2.tar.gz |
Revert "Added eval for pasting tag lists"
Diffstat (limited to 'monitoring/datadog_event.py')
-rw-r--r-- | monitoring/datadog_event.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/monitoring/datadog_event.py b/monitoring/datadog_event.py index bde5cd80..5319fcb0 100644 --- a/monitoring/datadog_event.py +++ b/monitoring/datadog_event.py @@ -116,10 +116,7 @@ def post_event(module): if module.params['date_happened'] != None: body['date_happened'] = module.params['date_happened'] if module.params['tags'] != None: - if module.params['tags'].startswith("[") and module.params['tags'].endswith("]"): - body['tags'] = eval(module.params['tags']) - else: - body['tags'] = module.params['tags'].split(",") + body['tags'] = module.params['tags'].split(",") if module.params['aggregation_key'] != None: body['aggregation_key'] = module.params['aggregation_key'] if module.params['source_type_name'] != None: |