Code Review
/
oom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
[COMMON] Fix condition equality bashisms
[oom.git]
/
kubernetes
/
sdnc
/
components
/
sdnc-prom
/
resources
/
bin
/
prom.sh
diff --git
a/kubernetes/sdnc/components/sdnc-prom/resources/bin/prom.sh
b/kubernetes/sdnc/components/sdnc-prom/resources/bin/prom.sh
index
7764d00
..
fa76a9e
100755
(executable)
--- a/
kubernetes/sdnc/components/sdnc-prom/resources/bin/prom.sh
+++ b/
kubernetes/sdnc/components/sdnc-prom/resources/bin/prom.sh
@@
-24,7
+24,7
@@
fi
# should PROM start as passive?
state=$( bin/sdnc.cluster )
# should PROM start as passive?
state=$( bin/sdnc.cluster )
-if [ "$state" =
=
"standby" ]; then
+if [ "$state" = "standby" ]; then
echo "Starting PROM in passive mode"
passive="-p"
fi
echo "Starting PROM in passive mode"
passive="-p"
fi