Skip to content

Commit

Permalink
Merge pull request #143 from seomoz/fix-container-config-ROGER-2558
Browse files Browse the repository at this point in the history
Fix same container config used twice for two different container with…
  • Loading branch information
vmahedia authored Feb 1, 2018
2 parents 487879d + d577db6 commit ca6bf39
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.4.16
0.4.17
3 changes: 3 additions & 0 deletions cli/roger_push.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ca6bf39

Please sign in to comment.