Skip to content

Commit

Permalink
Fix provider name in debug log message (elastic#35644)
Browse files Browse the repository at this point in the history
  • Loading branch information
zmoog authored Jun 8, 2023
1 parent 7b1a839 commit 0672e11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x-pack/libbeat/common/aws/credentials.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ func addAssumeRoleProviderToAwsConfig(config ConfigAWS, awsConfig *awssdk.Config
// addStaticCredentialsProviderToAwsConfig adds a static credentials provider to the current AWS config by using the keys stored in Beats config
func addStaticCredentialsProviderToAwsConfig(beatsConfig ConfigAWS, awsConfig *awssdk.Config) {
logger := logp.NewLogger("addStaticCredentialsProviderToAwsConfig")
logger.Debug("Switching credentials provider to AssumeRoleProvider")
logger.Debug("Switching credentials provider to StaticCredentialsProvider")
staticCredentialsProvider := credentials.NewStaticCredentialsProvider(
beatsConfig.AccessKeyID,
beatsConfig.SecretAccessKey,
Expand Down

0 comments on commit 0672e11

Please sign in to comment.