Skip to content

Commit

Permalink
apply inactive settings when termination fails
Browse files Browse the repository at this point in the history
  • Loading branch information
becjon committed Nov 17, 2020
1 parent f8d995c commit 32e8737
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/eb_deployer/deployment_strategy/blue_green.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ def deploy(version_label, env_settings, inactive_settings=[])
active_ebenv.terminate
else
active_ebenv.log("Active environment changed state to unhealthy. Existing (black) environment will not be terminated")
active_ebenv.log("applying inactive settings...")
active_ebenv.apply_settings(inactive_settings)
end

end
Expand Down

0 comments on commit 32e8737

Please sign in to comment.