From 1dbea5c88b855d8fe74980619ba887c6f8adc902 Mon Sep 17 00:00:00 2001 From: Becca Petrin Date: Mon, 18 May 2020 09:38:54 -0700 Subject: [PATCH] Update builtin/credential/aws/path_login.go Co-authored-by: Jim Kalafut --- builtin/credential/aws/path_login.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin/credential/aws/path_login.go b/builtin/credential/aws/path_login.go index 8e31eea0584a..9e641e7e6435 100644 --- a/builtin/credential/aws/path_login.go +++ b/builtin/credential/aws/path_login.go @@ -1730,7 +1730,7 @@ func getMetadataValue(fromAuth *logical.Auth, forKey string) (string, error) { if val, ok := fromAuth.Metadata[forKey]; ok { return val, nil } - return "", fmt.Errorf("%q unfound in auth metadata", forKey) + return "", fmt.Errorf("%q not found in auth metadata", forKey) } const iamServerIdHeader = "X-Vault-AWS-IAM-Server-ID"