From ce1b43cd487a3fa47734af3a68e270d15fa02f77 Mon Sep 17 00:00:00 2001 From: John Eismeier <32205350+jeis2497052@users.noreply.github.com> Date: Thu, 1 Feb 2018 12:51:38 -0500 Subject: [PATCH] Propose small spelling change (#3890) --- builtin/credential/aws/client.go | 2 +- helper/awsutil/generate_credentials.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/builtin/credential/aws/client.go b/builtin/credential/aws/client.go index 2b4c4aba4e..761ddeb55a 100644 --- a/builtin/credential/aws/client.go +++ b/builtin/credential/aws/client.go @@ -69,7 +69,7 @@ func (b *backend) getRawClientConfig(ctx context.Context, s logical.Storage, reg } // getClientConfig returns an aws-sdk-go config, with optionally assumed credentials -// It uses getRawClientConfig to obtain config for the runtime environemnt, and if +// It uses getRawClientConfig to obtain config for the runtime environment, and if // stsRole is a non-empty string, it will use AssumeRole to obtain a set of assumed // credentials. The credentials will expire after 15 minutes but will auto-refresh. func (b *backend) getClientConfig(ctx context.Context, s logical.Storage, region, stsRole, accountID, clientType string) (*aws.Config, error) { diff --git a/helper/awsutil/generate_credentials.go b/helper/awsutil/generate_credentials.go index 6b18968329..83c134a56e 100644 --- a/helper/awsutil/generate_credentials.go +++ b/helper/awsutil/generate_credentials.go @@ -77,7 +77,7 @@ func (c *CredentialsConfig) GenerateCredentialChain() (*credentials.Credentials, // Create the credentials required to access the API. creds := credentials.NewChainCredentials(providers) if creds == nil { - return nil, fmt.Errorf("could not compile valid credential providers from static config, environemnt, shared, or instance metadata") + return nil, fmt.Errorf("could not compile valid credential providers from static config, environment, shared, or instance metadata") } return creds, nil