From 401f7042a29f60056397b20927dd6834a28bbfad Mon Sep 17 00:00:00 2001 From: Ying Xie Date: Mon, 22 Jul 2019 14:13:50 -0700 Subject: [PATCH] Revert "[database] save configuration after DB migration (#3143)" (#3199) This reverts commit b5a4527cb0ae6c314329a4ee4b060f14264ddb02. --- files/build_templates/docker_image_ctl.j2 | 5 ----- 1 file changed, 5 deletions(-) diff --git a/files/build_templates/docker_image_ctl.j2 b/files/build_templates/docker_image_ctl.j2 index 2eb362dd68c3..9966728988bd 100644 --- a/files/build_templates/docker_image_ctl.j2 +++ b/files/build_templates/docker_image_ctl.j2 @@ -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