This reverts commit b5a4527cb0
.
This commit is contained in:
parent
1d15022df7
commit
401f7042a2
@ -89,11 +89,6 @@ function postStartAction()
|
|||||||
if [[ -x /usr/bin/db_migrator.py ]]; then
|
if [[ -x /usr/bin/db_migrator.py ]]; then
|
||||||
# Migrate the DB to the latest schema version if needed
|
# Migrate the DB to the latest schema version if needed
|
||||||
/usr/bin/db_migrator.py -o migrate
|
/usr/bin/db_migrator.py -o migrate
|
||||||
|
|
||||||
# Save in memory config_db to config_db.json for 2 reasons:
|
|
||||||
# 1. Persist the DB migration result.
|
|
||||||
# 2. Save in memory DB after warm reboot.
|
|
||||||
/usr/bin/config save -y
|
|
||||||
fi
|
fi
|
||||||
{%- elif docker_container_name == "swss" %}
|
{%- elif docker_container_name == "swss" %}
|
||||||
docker exec swss rm -f /ready # remove cruft
|
docker exec swss rm -f /ready # remove cruft
|
||||||
|
Reference in New Issue
Block a user