From 359b2abebc1d2e038cb2dbbba3868a58ef229178 Mon Sep 17 00:00:00 2001 From: Jordan Cohen Date: Sat, 16 Apr 2016 08:10:49 -0400 Subject: [PATCH] idempotency fix (#2024) --- monitoring/datadog_monitor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monitoring/datadog_monitor.py b/monitoring/datadog_monitor.py index 8dbbe646638..c5aec1b561e 100644 --- a/monitoring/datadog_monitor.py +++ b/monitoring/datadog_monitor.py @@ -208,7 +208,7 @@ def _update_monitor(module, monitor, options): options=options) if 'errors' in msg: module.fail_json(msg=str(msg['errors'])) - elif _equal_dicts(msg, monitor, ['creator', 'overall_state']): + elif _equal_dicts(msg, monitor, ['creator', 'overall_state', 'modified']): module.exit_json(changed=False, msg=msg) else: module.exit_json(changed=True, msg=msg)