mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-26 12:15:20 +01:00
Hide DB URL from notary migrator script
This commit modify the log message from upstream notary DB migrator, to make sure the DB URL is not displayed. Fixes #7510 Signed-off-by: Daniel Jiang <jiangd@vmware.com>
This commit is contained in:
parent
bf6a14c9ad
commit
6e131d511c
@ -24,6 +24,8 @@ docker cp $ID:/go/bin/notary-signer binary/
|
|||||||
docker cp $ID:/go/bin/migrate binary/
|
docker cp $ID:/go/bin/migrate binary/
|
||||||
docker cp $ID:/migrations binary/
|
docker cp $ID:/migrations binary/
|
||||||
|
|
||||||
|
sed -i 's/waiting for $DB_URL/waiting for database/g' binary/migrations/migrate.sh
|
||||||
|
|
||||||
docker rm -f $ID
|
docker rm -f $ID
|
||||||
docker rmi -f notary-binary
|
docker rmi -f notary-binary
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user