remote object store gateway: disable tagging for backblaze

This commit is contained in:
chrislu
2022-06-11 09:50:59 -07:00
parent 9f8b72a54d
commit 61b8c9c361
9 changed files with 28 additions and 16 deletions

View File

@@ -24,7 +24,8 @@ func (s TencentRemoteStorageMaker) HasBucket() bool {
func (s TencentRemoteStorageMaker) Make(conf *remote_pb.RemoteConf) (remote_storage.RemoteStorageClient, error) {
client := &s3RemoteStorageClient{
conf: conf,
supportTagging: true,
conf: conf,
}
accessKey := util.Nvl(conf.TencentSecretId, os.Getenv("COS_SECRETID"))
secretKey := util.Nvl(conf.TencentSecretKey, os.Getenv("COS_SECRETKEY"))