Skip to content

Commit

Permalink
fix: fix db-check bug (#1541)
Browse files Browse the repository at this point in the history
  • Loading branch information
lut777 committed May 19, 2022
1 parent f6b2444 commit ae56306
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dist/images/db_autocheck_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
set -euo pipefail

KUBE_OVN_NS=kube-system
IS_RESTORE=true
IS_RESTORE=false

restoreNB(){
echo "start restore db"
Expand Down Expand Up @@ -65,7 +65,7 @@ restoreNB(){
}

DBabnormal(){
if [ $IS_RESTORE ]; then
if $IS_RESTORE; then
restoreNB
else
exit 1
Expand Down

0 comments on commit ae56306

Please sign in to comment.