fix: hide fields of minio storage provider (#2115)

* feat: hide field of minio storage provider

* feat: hide field of domain in minio storage provider
This commit is contained in:
UsherFall
2023-07-23 14:40:30 +08:00
committed by GitHub
parent a9d4978a0f
commit 7d7ca10481
2 changed files with 15 additions and 13 deletions

View File

@ -23,7 +23,7 @@ func GetStorageProvider(providerType string, clientId string, clientSecret strin
case "AWS S3":
return NewAwsS3StorageProvider(clientId, clientSecret, region, bucket, endpoint)
case "MinIO":
return NewMinIOS3StorageProvider(clientId, clientSecret, region, bucket, endpoint)
return NewMinIOS3StorageProvider(clientId, clientSecret, "_", bucket, endpoint)
case "Aliyun OSS":
return NewAliyunOssStorageProvider(clientId, clientSecret, region, bucket, endpoint)
case "Tencent Cloud COS":