Skip to content

Commit

Permalink
Fix bootstrap script validation check
Browse files Browse the repository at this point in the history
Signed-off-by: Shreyas Rao <shreyas.sriganesh.rao@sap.com>
  • Loading branch information
shreyas-s-rao committed Mar 23, 2021
1 parent 3b9cd9a commit 72ec7a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charts/etcd/templates/etcd-bootstrap-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ data:
echo "$VALIDATION_MARKER file present. Check return status and decide on initialization"
run_status=$(cat $VALIDATION_MARKER)
echo "$VALIDATION_MARKER content: $run_status"
if [ $run_status == '143' ] || [ $run_status == '130' ] || [ $run_status == '0' ] ; then
if [ $run_status = '143' ] || [ $run_status = '130' ] || [ $run_status = '0' ] ; then
echo "Requesting sidecar to perform sanity validation"
check_and_start_etcd sanity
else
Expand Down

0 comments on commit 72ec7a0

Please sign in to comment.