summaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
authoryangyan <yangyanyj@chinamobile.com>2019-04-08 17:42:06 +0800
committeryangyan <yangyanyj@chinamobile.com>2019-04-08 17:42:12 +0800
commiteea6d3d690dc7fdd1b47a49de77cd942831ec558 (patch)
treefc61fddce0835bdb5e996342c4d1129869c2ee74 /docker
parentbf4b8692dbddbae34713ea029fdc13e2a8bf2a60 (diff)
fix the bug of catalog
Change-Id: Ia44819366036c27a06a8c92f05bb28fdf9c53d33 Issue-ID: VFC-1339 Signed-off-by: yangyan <yangyanyj@chinamobile.com>
Diffstat (limited to 'docker')
-rwxr-xr-xdocker/instance_init.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/docker/instance_init.sh b/docker/instance_init.sh
index 7dde8c72..3fb9a8e0 100755
--- a/docker/instance_init.sh
+++ b/docker/instance_init.sh
@@ -28,6 +28,6 @@ GET_CATALOG_DB="show databases like 'nfvocatalog';"
CATALOG_DB=`mysql -u$MYSQL_ROOT_USER -p$MYSQL_ROOT_PASSWORD -P$MYSQL_PORT -h$MYSQL_IP -e "GET_CATALOG_DB"`
if [[ "$CATALOG_DB" == "" ]]; then
create_database
-
+ migrate_database
fi
-migrate_database
+