From 30fe407e8e2ee442a5e75cf9d60c044acd809df9 Mon Sep 17 00:00:00 2001 From: Marcus Efraimsson Date: Mon, 24 Sep 2018 12:44:37 +0200 Subject: [PATCH] devenv: fix uid for bulk alert dashboards --- devenv/setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devenv/setup.sh b/devenv/setup.sh index 8b8f2d51284..7b5499a9f52 100755 --- a/devenv/setup.sh +++ b/devenv/setup.sh @@ -21,7 +21,7 @@ bulkAlertingDashboard() { COUNTER=0 MAX=100 while [ $COUNTER -lt $MAX ]; do - jsonnet -o "bulk_alerting_dashboards/alerting_dashboard${COUNTER}.json" -e "local bulkDash = import 'bulk_alerting_dashboards/bulkdash_alerting.jsonnet'; bulkDash + { uid: 'uid-${COUNTER}', title: 'alerting-title-${COUNTER}' }" + jsonnet -o "bulk_alerting_dashboards/alerting_dashboard${COUNTER}.json" -e "local bulkDash = import 'bulk_alerting_dashboards/bulkdash_alerting.jsonnet'; bulkDash + { uid: 'bd-${COUNTER}', title: 'alerting-title-${COUNTER}' }" let COUNTER=COUNTER+1 done