From d577db697536ff730e8e6c85309a3e7b17069f8d Mon Sep 17 00:00:00 2001 From: Vinit Mahedia Date: Thu, 1 Feb 2018 13:12:37 -0800 Subject: [PATCH] Fix same container config used twice for two different container within app bug --- VERSION | 2 +- cli/roger_push.py | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/VERSION b/VERSION index 5745cc7..7040b81 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.4.16 +0.4.17 diff --git a/cli/roger_push.py b/cli/roger_push.py index 6dd0f0e..62f44f8 100755 --- a/cli/roger_push.py +++ b/cli/roger_push.py @@ -448,6 +448,9 @@ def main(self, settings, appConfig, frameworkObject, hooksObj, args): except (Exception) as e: raise ValueError("{} Error : {}".format(getDebugInfo(), e)) try: + container_name = self.getContainerName(container) + containerConfig = "{0}-{1}.json".format(config['name'], container_name) + config_file_path = "{0}/{1}/{2}".format(comp_dir, environment, containerConfig) # this is where actual push is happening # we only push if forced, in case of failures # in deployment checks