[updategraph] set DB version after minigraph reload (#2917)

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
This commit is contained in:
Ying Xie 2019-05-18 22:08:41 -07:00 committed by lguohan
parent 71d0f46672
commit 222706120d

View File

@ -16,6 +16,11 @@ reload_minigraph()
fi fi
config qos reload config qos reload
pfcwd start_default pfcwd start_default
if [[ -x /usr/bin/db_migrator.py ]]; then
# Set latest version number
/usr/bin/db_migrator.py -o set_version
fi
} }
function copy_config_files_and_directories() function copy_config_files_and_directories()