Skip to content

Commit

Permalink
Merge pull request #617 from jamiehannaford/fix_alarm_list
Browse files Browse the repository at this point in the history
Make entity param optional; fixes 566
  • Loading branch information
sivel authored Aug 22, 2016
2 parents b4691a3 + 9a94517 commit c64a28f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyrax/cloudmonitoring.py
Original file line number Diff line number Diff line change
Expand Up @@ -955,7 +955,7 @@ class CloudMonitorAlarm(BaseResource):
Alarms bind alerting rules, entities, and notification plans into a logical
unit.
"""
def __init__(self, manager, info, entity, key=None, loaded=False):
def __init__(self, manager, info, entity=None, key=None, loaded=False):
super(CloudMonitorAlarm, self).__init__(manager, info, key=key,
loaded=loaded)
if entity is None:
Expand Down

0 comments on commit c64a28f

Please sign in to comment.