Skip to content

Commit

Permalink
debug(clouddriver): Include cloudprovider in server group capacity logs
Browse files Browse the repository at this point in the history
  • Loading branch information
ajordens committed Mar 12, 2019
1 parent f359acc commit 970ed38
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -177,10 +177,10 @@ class WaitForUpInstancesTask extends AbstractWaitingForInstancesTask {
* This method aims to generically detect these scenarios and use the target capacity of the
* server group rather than 0/0/0.
*/
private Map<String, Integer> getServerGroupCapacity(Stage stage, Map serverGroup) {
private static Map<String, Integer> getServerGroupCapacity(Stage stage, Map serverGroup) {
def serverGroupCapacity = serverGroup.capacity as Map<String, Integer>

def cloudProvider = getCloudProvider(stage)
def cloudProvider = stage.context.cloudProvider

def initialTargetCapacity = getInitialTargetCapacity(stage, serverGroup)
if (!initialTargetCapacity) {
Expand Down

0 comments on commit 970ed38

Please sign in to comment.