diff --git a/oss/tencent.go b/oss/tencent.go index 644f4d9..2944a0a 100644 --- a/oss/tencent.go +++ b/oss/tencent.go @@ -39,7 +39,6 @@ func NewTencentCredentialProvider() (minioCred.Provider, error) { if err != nil { // try cvm role provider provider = common.DefaultCvmRoleProvider() - } cred, err := provider.GetCredential() if err != nil {