Code Review
/
vfc
/
nfvo
/
catalog.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
1114452
)
fix the bug of database migrate
73/84473/1
author
yangyan
<yangyanyj@chinamobile.com>
Mon, 8 Apr 2019 06:45:39 +0000
(14:45 +0800)
committer
yangyan
<yangyanyj@chinamobile.com>
Mon, 8 Apr 2019 06:45:50 +0000
(14:45 +0800)
Change-Id: I327c15c8116f9d262f7e6ae2951001bf4b3c8f45
Issue-ID: VFC-1339
Signed-off-by: yangyan <yangyanyj@chinamobile.com>
docker/instance_init.sh
patch
|
blob
|
history
diff --git
a/docker/instance_init.sh
b/docker/instance_init.sh
index
a3ca889
..
7dde8c7
100755
(executable)
--- a/
docker/instance_init.sh
+++ b/
docker/instance_init.sh
@@
-28,5
+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