From: Paul Cuzner Date: Tue, 20 Jun 2017 02:35:37 +0000 (+1200) Subject: dashUpdater - dashboard refresh mode needed overwrite set to True X-Git-Tag: v1.0~67^2~11 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=241d12d42e8e01fb6e47210bb555cf1732350aa3;p=cephmetrics.git dashUpdater - dashboard refresh mode needed overwrite set to True --- diff --git a/dashUpdater.py b/dashUpdater.py index 8c3eaf5..eecd575 100644 --- a/dashUpdater.py +++ b/dashUpdater.py @@ -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