[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 Ying Xie
parent 712d4b90fe
commit 5975a9c25b

View File

@ -16,6 +16,11 @@ reload_minigraph()
fi
config qos reload
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()