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

Commit f9af401

Browse files
authored
Adds instance variable to error message
1 parent 6437542 commit f9af401

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
@@ -534,7 +534,7 @@ func (a *Amazon) ValidateInstanceTypes(instancePools []interfaces.InstancePool)
534534
}
535535

536536
if found {
537-
err := fmt.Errorf("type '%s' is not supported for master instance")
537+
err := fmt.Errorf("type '%s' is not supported for master instance", instanceType)
538538
result = multierror.Append(result, err)
539539
}
540540
}

0 commit comments

Comments
 (0)