]> git-server-git.apps.pok.os.sepia.ceph.com Git - cephmetrics.git/commitdiff
dashUpdater - dashboard refresh mode needed overwrite set to True
authorPaul Cuzner <pcuzner@redhat.com>
Tue, 20 Jun 2017 02:35:37 +0000 (14:35 +1200)
committerPaul Cuzner <pcuzner@redhat.com>
Tue, 20 Jun 2017 02:35:37 +0000 (14:35 +1200)
dashUpdater.py

index 8c3eaf56efb485323cdad78c00b3effba635081c..eecd57551e413ba1f742fb7a0246b570707d1dc3 100644 (file)
@@ -171,7 +171,7 @@ def load_dashboard(dashboard_name):
             logger.debug("- {} sample loaded from {}".format(dashboard_name,
                                                     dashboard_dir))
             del dashjson['meta']
-            dashjson['overwrite'] = False
+            dashjson['overwrite'] = True
 
             # 'id' must be null for this to be a create, if it is anything
             # else grafana will attempt an update, which will fail