1
0
Fork 0
This commit is contained in:
pasquier-s 2016-12-12 16:47:37 +01:00 committed by GitHub
parent cff2746722
commit ff755f0270
1 changed files with 2 additions and 2 deletions

View File

@ -254,8 +254,8 @@ def _diff(old, new):
for key in old_keys:
if key == 'id' or key == 'orgId':
del old[key]
# New version of Grafana can introduce new keys that are not present
# in _get_json_data. So we use get for new.
# New versions of Grafana can introduce new keys that are not present
# in _get_json_data.
elif key in new and old[key] == new[key]:
del old[key]
del new[key]