Skip to content

Commit

Permalink
LB-620: Correct missing return values in the previous commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
ykchong45 committed Mar 22, 2024
1 parent 65eba1a commit 3b41b66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,9 @@ function is_unit_db_running {
containername="${COMPOSE_PROJECT_NAME}-lb_db-1"
res=$(docker ps --filter "name=$containername" --filter "status=running" -q)
if [ -n "$res" ]; then
echo "return 0"
return 0
else
echo "return 1"
return 1
fi
}

Expand Down

0 comments on commit 3b41b66

Please sign in to comment.