From: Paul Cuzner Date: Thu, 29 Jun 2017 03:26:01 +0000 (+1200) Subject: dashUpdater : Set the default Org's theme to light X-Git-Tag: v1.0~50^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=bd39544cf992bbf31fc6227eecae438f9be17c72;p=cephmetrics.git dashUpdater : Set the default Org's theme to light Most ceph UI's use a light theme, so this change aligns to that trend. --- diff --git a/dashUpdater.py b/dashUpdater.py index 3026114..0d25eaf 100644 --- a/dashUpdater.py +++ b/dashUpdater.py @@ -260,6 +260,7 @@ def set_home_dashboard(home_dashboard): headers=HEADERS, auth=config.grafana_credentials, data=json.dumps({"name": "Main Org.", + "theme": "light", "homeDashboardId": dash_id})) if resp.status_code == 200: