Skip to content

Commit bdd2170

Browse files
author
Alex Pogue
committed
Use list_all in conditions update
1 parent d4a6d73 commit bdd2170

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

newrelic_api/alert_conditions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ def update(
175175
}
176176
177177
"""
178-
conditions_dict = self.list(policy_id)
178+
conditions_dict = self.list_all(policy_id)
179179
target_condition = None
180180
for condition in conditions_dict['conditions']:
181181
if int(condition['id']) == alert_condition_id:

0 commit comments

Comments
 (0)