[COMMON] Fix condition equality bashisms
[oom.git] / kubernetes / sdnc / components / sdnc-prom / resources / bin / switchVoting.sh
index f13196e..c36d2e3 100755 (executable)
@@ -1,5 +1,6 @@
-#/bin/sh
+#!/bin/sh
 
+{{/*
 # Copyright © 2018 Amdocs
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
@@ -13,6 +14,7 @@
 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 # See the License for the specific language governing permissions and
 # limitations under the License.
+*/}}
 
 set -e
 primary=${SDNC_IS_PRIMARY_CLUSTER:-true}
@@ -24,7 +26,7 @@ LOGFILE="/app/geo.log"
 enableDebugLogging=true
 
 debugLog(){
-  if [ "$enableDebugLogging" == true ]; then
+  if [ "$enableDebugLogging" = true ]; then
      if [ $# -eq 0 ]; then
        echo "" >> $LOGFILE
      else