Skip to content

Commit 14f3c99

Browse files
author
Ivan Vlasic
committed
use proper log function
1 parent b7cfb73 commit 14f3c99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aws/aws.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ func NewWithEndpointCredentials(endpoint, region string, token func() string) (*
6767
return nil, log.Wrap(err)
6868
}
6969
if config.Region == "" {
70-
return nil, log.Wrap(fmt.Errorf("aws region not set"))
70+
return nil, log.Wrapf("aws region not set")
7171
}
7272
return clientFromConfig(config)
7373
}

0 commit comments

Comments
 (0)