Skip to content

Commit

Permalink
Revert "[database] save configuration after DB migration (#3143)" (#3199
Browse files Browse the repository at this point in the history
)

This reverts commit b5a4527.
  • Loading branch information
yxieca authored Jul 22, 2019
1 parent 1d15022 commit 401f704
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions files/build_templates/docker_image_ctl.j2
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,6 @@ function postStartAction()
if [[ -x /usr/bin/db_migrator.py ]]; then
# Migrate the DB to the latest schema version if needed
/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
{%- elif docker_container_name == "swss" %}
docker exec swss rm -f /ready # remove cruft
Expand Down

0 comments on commit 401f704

Please sign in to comment.