Skip to content

Commit

Permalink
chore(aws): Remove some unused constants (#9370)
Browse files Browse the repository at this point in the history
`awsFailedToConfigureErrMsg` and `awsOrgsFailedToFindMembers` may have been used at some point, but right now they are not
  • Loading branch information
hermanschaaf committed Mar 23, 2023
1 parent 92c424c commit 1eae425
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions plugins/source/aws/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,9 @@ type ServicesManager struct {
}

const (
defaultRegion = "us-east-1"
awsFailedToConfigureErrMsg = "failed to retrieve credentials for account %s. AWS Error: %w, detected aws env variables: %s"
awsOrgsFailedToFindMembers = "failed to list Org member accounts. Make sure that your credentials have the proper permissions"
defaultVar = "default"
cloudfrontScopeRegion = defaultRegion
defaultRegion = "us-east-1"
defaultVar = "default"
cloudfrontScopeRegion = defaultRegion
)

var errInvalidRegion = errors.New("region wildcard \"*\" is only supported as first argument")
Expand Down

0 comments on commit 1eae425

Please sign in to comment.