Skip to content
This repository was archived by the owner on Jan 9, 2023. It is now read-only.

Commit 0e6576b

Browse files
committed
Fixed amazon verification string matching
1 parent 7497fbc commit 0e6576b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/tarmak/provider/amazon/amazon.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@ func (a *Amazon) VerifyInstanceTypes(instancePools []interfaces.InstancePool) er
525525
result = multierror.Append(result, err)
526526
}
527527

528-
switch instance.InstanceType() {
528+
switch instance.Role().Name() {
529529

530530
case clusterv1alpha1.InstancePoolTypeMaster:
531531
found := false

0 commit comments

Comments
 (0)