Skip to content

Commit 5975a9c

Browse files
committed
[updategraph] set DB version after minigraph reload (#2917)
Signed-off-by: Ying Xie <[email protected]>
1 parent 712d4b9 commit 5975a9c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

files/image_config/updategraph/updategraph

+5
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ reload_minigraph()
1616
fi
1717
config qos reload
1818
pfcwd start_default
19+
20+
if [[ -x /usr/bin/db_migrator.py ]]; then
21+
# Set latest version number
22+
/usr/bin/db_migrator.py -o set_version
23+
fi
1924
}
2025

2126
function copy_config_files_and_directories()

0 commit comments

Comments
 (0)