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

Commit 650ca81

Browse files
committed
Fixed amazon verification string matching
Signed-off-by: JoshVanL <[email protected]>
1 parent 8a16f84 commit 650ca81

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
@@ -546,7 +546,7 @@ func (a *Amazon) VerifyInstanceTypes(instancePools []interfaces.InstancePool) er
546546
result = multierror.Append(result, err)
547547
}
548548

549-
switch instance.InstanceType() {
549+
switch instance.Role().Name() {
550550

551551
case clusterv1alpha1.InstancePoolTypeMaster:
552552
found := false

0 commit comments

Comments
 (0)