From abc62b1db4fd7fc84bf44df5d920da97c71d6680 Mon Sep 17 00:00:00 2001 From: Daniel Lee Date: Tue, 21 Nov 2017 12:34:01 +0100 Subject: [PATCH] Change dashboard refresh prop's default value to empty string Fixes #45 --- grafonnet/dashboard.libsonnet | 2 +- tests/dashboards/adds_compiled.json | 2 +- tests/dashboards/basic_compiled.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/grafonnet/dashboard.libsonnet b/grafonnet/dashboard.libsonnet index 6021070a..632632a5 100644 --- a/grafonnet/dashboard.libsonnet +++ b/grafonnet/dashboard.libsonnet @@ -9,7 +9,7 @@ local timepickerlib = import "timepicker.libsonnet"; time_from="now-6h", time_to="now", timezone="browser", - refresh="off", + refresh="", timepicker=timepickerlib.new(), hideControls=false, ):: { diff --git a/tests/dashboards/adds_compiled.json b/tests/dashboards/adds_compiled.json index f8cdc92b..c234c053 100644 --- a/tests/dashboards/adds_compiled.json +++ b/tests/dashboards/adds_compiled.json @@ -14,7 +14,7 @@ "foolinks", "barlinks" ], - "refresh": "off", + "refresh": "", "rows": [ { "collapse": false, diff --git a/tests/dashboards/basic_compiled.json b/tests/dashboards/basic_compiled.json index de1db3f9..eca3bd00 100644 --- a/tests/dashboards/basic_compiled.json +++ b/tests/dashboards/basic_compiled.json @@ -38,7 +38,7 @@ "hideControls": false, "id": null, "links": [ ], - "refresh": "off", + "refresh": "", "rows": [ ], "schemaVersion": 14, "style": "dark",