diff options
author | Michael Scherer <misc@zarb.org> | 2015-12-21 23:39:20 +0100 |
---|---|---|
committer | Michael Scherer <misc@zarb.org> | 2015-12-21 23:39:20 +0100 |
commit | 2f3dc1352fa4de14c3f42d06428c3a7d41869211 (patch) | |
tree | fbca82c42655ae48e3c0f3442581dc757bfe474d /monitoring | |
parent | 1ae3b6a0206d23e956243f82e92dc0c57a7c12d9 (diff) | |
download | ansible-modules-extras-2f3dc1352fa4de14c3f42d06428c3a7d41869211.tar.gz |
Replace choices=BOOLEANS by type='bool', fix #1326
Diffstat (limited to 'monitoring')
-rw-r--r-- | monitoring/datadog_monitor.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/monitoring/datadog_monitor.py b/monitoring/datadog_monitor.py index 93183266..474d2e42 100644 --- a/monitoring/datadog_monitor.py +++ b/monitoring/datadog_monitor.py @@ -144,12 +144,12 @@ def main(): query=dict(required=False), message=dict(required=False, default=None), silenced=dict(required=False, default=None, type='dict'), - notify_no_data=dict(required=False, default=False, choices=BOOLEANS), + notify_no_data=dict(required=False, default=False, type='bool'), no_data_timeframe=dict(required=False, default=None), timeout_h=dict(required=False, default=None), renotify_interval=dict(required=False, default=None), escalation_message=dict(required=False, default=None), - notify_audit=dict(required=False, default=False, choices=BOOLEANS), + notify_audit=dict(required=False, default=False, type='bool'), thresholds=dict(required=False, type='dict', default={'ok': 1, 'critical': 1, 'warning': 1}), ) ) |