Fix grafana dashboard updating when nothing has changed

The new field "uid" (from grafana5) must be ignored: it will always
differ as it is generated server side by grafana when creating the
dashboard.
This commit is contained in:
Bruno Binet 2018-12-04 18:19:51 +01:00
parent ae81498a5e
commit 7019d47ce9

View file

@ -247,6 +247,7 @@ def absent(name, orgname=None, profile='grafana'):
_IGNORED_DASHBOARD_FIELDS = [
'id',
'uid',
'originalTitle',
'version',
]