mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-21 17:55:30 +01:00
disable non zern check on wait for db ready
Signed-off-by: wang yan <wangyan@vmware.com>
This commit is contained in:
parent
7d6cdefae6
commit
f49b5910d2
@ -29,6 +29,7 @@ clean_db() {
|
||||
}
|
||||
|
||||
wait_for_db_ready() {
|
||||
set +e
|
||||
TIMEOUT=12
|
||||
while [ $TIMEOUT -gt 0 ]; do
|
||||
docker exec fix-notary-migration pg_isready | grep "accepting connections"
|
||||
@ -43,6 +44,7 @@ wait_for_db_ready() {
|
||||
clean_db
|
||||
exit 1
|
||||
fi
|
||||
set -e
|
||||
}
|
||||
|
||||
fix_notary_server() {
|
||||
|
Loading…
Reference in New Issue
Block a user