Skip to content

Commit

Permalink
add "maintenanceids" to ignored fields (#47)
Browse files Browse the repository at this point in the history
When updating the check, api endpoint doesn't understand "maintenanceids" field, that is present in https://api.pingdom.com/api/2.1/checks output
  • Loading branch information
meloos authored and sekipaolo committed Jan 26, 2018
1 parent 7f7cd24 commit 5b99005
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pypingdom/check.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class Check(object):
SKIP_ON_PRINT = ["cached_definition", "_id", "api"]
SKIP_ON_JSON = [
"api", "alert_policy_name", "cached_definition", "created", "lastresponsetime",
"lasttesttime", "lasterrortime", "_id", "id", "status"
"lasttesttime", "lasterrortime", "_id", "id", "status", "maintenanceids"
]

def __init__(self, api, json=False, obj=False):
Expand Down

0 comments on commit 5b99005

Please sign in to comment.