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

@@ -24,7 +24,7 @@ dashboardjson=$1
datasource_name=$2
inputname="DS_PROMETHEUS"
if [ "$datasource_name" -eq "prometheus-etcd" ]; then
if [ "$datasource_name" = "prometheus-etcd" ]; then
$inputname="DS_PROMETHEUS-ETCD"
fi