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

Commit d495954

Browse files
committed
Fixed amazon verification string matching
1 parent c3c73de commit d495954

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/tarmak/provider/amazon/amazon.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ func (a *Amazon) VerifyInstanceTypes(instancePools []interfaces.InstancePool) er
523523
result = multierror.Append(result, err)
524524
}
525525

526-
switch instance.InstanceType() {
526+
switch instance.Role().Name() {
527527

528528
case clusterv1alpha1.InstancePoolTypeMaster:
529529
found := false

0 commit comments

Comments
 (0)