Update the field name for actions_enabled in Alarms. It changed in the API

This commit is contained in:
Craig Bryant 2014-06-02 13:23:41 -06:00
parent 66b65904d9
commit 76f5acfab2
1 changed files with 2 additions and 2 deletions

View File

@ -17,11 +17,11 @@ def get(mon_client, alarm_id):
def disable(mon_client, alarm_id):
patch(mon_client, alarm_id, {'enabled': False})
patch(mon_client, alarm_id, {'actions_enabled': False})
def enable(mon_client, alarm_id):
patch(mon_client, alarm_id, {'enabled': True})
patch(mon_client, alarm_id, {'actions_enabled': True})
def set_state(mon_client, alarm_id, state):