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

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/tarmak/provider/amazon/amazon.go

Lines changed: 1 addition & 1 deletion
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)