From a4740d6d534dc3a5253db35e965b526bf99ad686 Mon Sep 17 00:00:00 2001 From: Jonathan Rainer Date: Wed, 15 Jun 2022 19:28:28 +0100 Subject: [PATCH] Fixing error message to be clearer --- pkg/cloud/cloud.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cloud/cloud.go b/pkg/cloud/cloud.go index e327f5be7..c1fd08b25 100644 --- a/pkg/cloud/cloud.go +++ b/pkg/cloud/cloud.go @@ -130,7 +130,7 @@ func createCloud(awsRoleArn string) (Cloud, error) { metadata, err := metadataProvider.getMetadata() if err != nil { - return nil, fmt.Errorf("could not get metadata from AWS: %v", err) + return nil, fmt.Errorf("could not get metadata: %v", err) } return &cloud{