Skip to content

Commit

Permalink
use proper log function
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan Vlasic committed Nov 26, 2021
1 parent b7cfb73 commit 14f3c99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aws/aws.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func NewWithEndpointCredentials(endpoint, region string, token func() string) (*
return nil, log.Wrap(err)
}
if config.Region == "" {
return nil, log.Wrap(fmt.Errorf("aws region not set"))
return nil, log.Wrapf("aws region not set")
}
return clientFromConfig(config)
}
Expand Down

0 comments on commit 14f3c99

Please sign in to comment.