Skip to content

Commit

Permalink
Merge pull request kubernetes#20 from ingvagabund/check-if-launch-con…
Browse files Browse the repository at this point in the history
…figuration-name-is-set

UPSTREAM: <carry> Return error if launch configuration name is missing
  • Loading branch information
openshift-merge-robot authored Feb 6, 2019
2 parents 5a74b3d + 57b03d9 commit 68916d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cluster-autoscaler/cloudprovider/aws/aws_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ func (m *AwsManager) getAsgTemplate(name string) (*asgTemplate, error) {
return nil, err
}

instanceTypeName, err := m.service.getInstanceTypeByLCName(*asg.LaunchConfigurationName)
instanceTypeName, err := m.service.getInstanceTypeByLCName(aws.StringValue(asg.LaunchConfigurationName))
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 68916d7

Please sign in to comment.