mirror of https://github.com/milvus-io/milvus.git
enhance: Use virtual host for tencent cloud (#30650)
Signed-off-by: Cai Zhang <cai.zhang@zilliz.com>pull/30689/head
parent
a556671119
commit
77ba3ce3f3
|
@ -64,6 +64,7 @@ func newMinioClient(ctx context.Context, c *config) (*minio.Client, error) {
|
|||
creds = credentials.NewStaticV2(c.accessKeyID, c.secretAccessKeyID, "")
|
||||
}
|
||||
case CloudProviderTencent:
|
||||
bucketLookupType = minio.BucketLookupDNS
|
||||
newMinioFn = tencent.NewMinioClient
|
||||
if !c.useIAM {
|
||||
creds = credentials.NewStaticV4(c.accessKeyID, c.secretAccessKeyID, "")
|
||||
|
|
Loading…
Reference in New Issue