devenv: fix uid for bulk alert dashboards

pull/13398/head
Marcus Efraimsson 7 years ago
parent fd5acdd857
commit 30fe407e8e
No known key found for this signature in database
GPG Key ID: EBFE0FB04612DD4A
  1. 2
      devenv/setup.sh

2
devenv/setup.sh vendored

@ -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

Loading…
Cancel
Save