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:
Daniel Jiang 2019-10-21 23:10:27 +08:00
parent bf6a14c9ad
commit 6e131d511c

View File

@ -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