commit | 5f4af0525aacf7a13efbbcefeab436b915abc4c8 | [log] [tgz] |
---|---|---|
author | Guillaume Lambert <guillaume.lambert@orange.com> | Tue Mar 09 21:52:32 2021 +0100 |
committer | Krzysztof Opasiak <k.opasiak@samsung.com> | Fri Apr 16 08:03:10 2021 +0000 |
tree | a6ffcdaf82e11ca66b9b3d622372f7251cf8638d | |
parent | ae7d17938153eae0c5082263dc1dfbd5da746506 [diff] [blame] |
[COMMON] Fix condition equality bashisms pointed out by checkbashisms. $ mycmd=$(tox -e checkbashisms | grep "(should be 'b = a')" | sed -e "s@^[^.]*\(.[^ ]*\) line \([0-9]*\) .*@sed -i -e '\2s/==/=/g' \1;@") $ eval $mycmd Issue-ID: OOM-2643 Signed-off-by: Guillaume Lambert <guillaume.lambert@orange.com> Change-Id: I9032130bc4717e111de11a73187c2f1052376e45
diff --git a/kubernetes/sdnc/components/sdnc-prom/resources/bin/switchVoting.sh b/kubernetes/sdnc/components/sdnc-prom/resources/bin/switchVoting.sh index 8057547..c36d2e3 100755 --- a/kubernetes/sdnc/components/sdnc-prom/resources/bin/switchVoting.sh +++ b/kubernetes/sdnc/components/sdnc-prom/resources/bin/switchVoting.sh
@@ -26,7 +26,7 @@ enableDebugLogging=true debugLog(){ - if [ "$enableDebugLogging" == true ]; then + if [ "$enableDebugLogging" = true ]; then if [ $# -eq 0 ]; then echo "" >> $LOGFILE else