kube-prometheus: Fix generate scripts

This commit is contained in:
Frederic Branczyk
2018-01-26 12:03:26 +01:00
parent 546a2e6ac6
commit 642df8ac25
2 changed files with 2 additions and 2 deletions

View File

@@ -36,7 +36,7 @@ for f in assets/grafana/generated/*-dashboard.json
do
basefilename=$(basename $f)
echo " $basefilename: |+"
if [ "$basefilename" -eq "etcd-dashboard.json" ]; then
if [ "$basefilename" = "etcd-dashboard.json" ]; then
hack/scripts/wrap-dashboard.sh $f prometheus-etcd | sed "s/^/ /g"
else
hack/scripts/wrap-dashboard.sh $f prometheus-k8s | sed "s/^/ /g"