From c34f198cfe71e2e3e159ea10563c265faf571f6a Mon Sep 17 00:00:00 2001 From: yangyan Date: Mon, 8 Apr 2019 14:48:14 +0800 Subject: fix the bug of database migrate Change-Id: Ie1938e8f5c648a9a1c9dee6866dda7168a50e48a Issue-ID: VFC-1339 Signed-off-by: yangyan --- lcm/docker/instance_init.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lcm/docker/instance_init.sh b/lcm/docker/instance_init.sh index ceaf0b20..88a9c4e0 100755 --- a/lcm/docker/instance_init.sh +++ b/lcm/docker/instance_init.sh @@ -27,5 +27,6 @@ GET_VNFM_DB="show databases like 'gvnfm';" VNFM_DB=`mysql -u$MYSQL_ROOT_USER -p$MYSQL_ROOT_PASSWORD -P$MYSQL_PORT -h$MYSQL_IP -e "$GET_VNFM_DB"` if [[ "$VNFM_DB" == "" ]]; then create_database - migrate_database + fi +migrate_database -- cgit 1.2.3-korg