Skip to content

Commit

Permalink
fix(amazon): do not set useSourceCapacity on clones (#4329)
Browse files Browse the repository at this point in the history
  • Loading branch information
anotherchrisberry authored Oct 25, 2017
1 parent a3825a0 commit 7fb4f33
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -237,12 +237,9 @@ module.exports = angular.module('spinnaker.amazon.serverGroupCommandBuilder.serv
command.interestingHealthProviderNames = ['Amazon'];
}

if (mode === 'clone' || mode === 'editPipeline') {
if (mode === 'editPipeline') {
command.useSourceCapacity = true;
command.viewState.useSimpleCapacity = false;
}

if (mode === 'editPipeline') {
command.strategy = 'redblack';
command.suspendedProcesses = [];
}
Expand Down

0 comments on commit 7fb4f33

Please sign in to comment.