Fixed Typo in aws_wrapper.go

This commit is contained in:
Shubham Kuchhal 2022-06-07 12:56:38 +05:30
parent 5776dabded
commit 4e79ff81f0
1 changed files with 1 additions and 1 deletions

View File

@ -301,7 +301,7 @@ func (m *awsWrapper) getInstanceTypesForAsgs(asgs []*asg) (map[string]string, er
for asgName, lt := range launchTemplatesToQuery { for asgName, lt := range launchTemplatesToQuery {
instanceType, err := m.getInstanceTypeByLaunchTemplate(lt) instanceType, err := m.getInstanceTypeByLaunchTemplate(lt)
if err != nil { if err != nil {
klog.Errorf("Failed to query launch tempate %s: %v", lt.name, err) klog.Errorf("Failed to query launch template %s: %v", lt.name, err)
continue continue
} }
results[asgName] = instanceType results[asgName] = instanceType