mirror of https://github.com/kubernetes/kops.git
Set higher verbosity when logging the endpoint of non-AWS S3 backend
This commit is contained in:
parent
1c32ac743b
commit
3d24d76cd6
|
|
@ -87,7 +87,7 @@ func (s *S3Context) getClient(region string) (*s3.S3, error) {
|
||||||
config = config.WithCredentialsChainVerboseErrors(true)
|
config = config.WithCredentialsChainVerboseErrors(true)
|
||||||
} else {
|
} else {
|
||||||
// Use customized S3 storage
|
// Use customized S3 storage
|
||||||
klog.Infof("Found S3_ENDPOINT=%q, using as non-AWS S3 backend", endpoint)
|
klog.V(2).Infof("Found S3_ENDPOINT=%q, using as non-AWS S3 backend", endpoint)
|
||||||
config, err = getCustomS3Config(endpoint, region)
|
config, err = getCustomS3Config(endpoint, region)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue