]> git-server-git.apps.pok.os.sepia.ceph.com Git - cephmetrics.git/commitdiff
dashUpdater : Set the default Org's theme to light
authorPaul Cuzner <pcuzner@redhat.com>
Thu, 29 Jun 2017 03:26:01 +0000 (15:26 +1200)
committerPaul Cuzner <pcuzner@redhat.com>
Thu, 29 Jun 2017 03:26:01 +0000 (15:26 +1200)
Most ceph UI's use a light theme, so this change aligns to that
trend.

dashUpdater.py

index 3026114ff039a656d53d8dccf8a8aa0e57873157..0d25eaf48b23898fd7afbfa236ed7a380b1eedc1 100644 (file)
@@ -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: