Skip to content

Commit 5b99005

Browse files
meloossekipaolo
authored andcommitted
add "maintenanceids" to ignored fields (#47)
When updating the check, api endpoint doesn't understand "maintenanceids" field, that is present in https://api.pingdom.com/api/2.1/checks output
1 parent 7f7cd24 commit 5b99005

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pypingdom/check.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ class Check(object):
77
SKIP_ON_PRINT = ["cached_definition", "_id", "api"]
88
SKIP_ON_JSON = [
99
"api", "alert_policy_name", "cached_definition", "created", "lastresponsetime",
10-
"lasttesttime", "lasterrortime", "_id", "id", "status"
10+
"lasttesttime", "lasterrortime", "_id", "id", "status", "maintenanceids"
1111
]
1212

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

0 commit comments

Comments
 (0)