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 BaiduRemoteStorageMaker) HasBucket() bool {
func (s BaiduRemoteStorageMaker) Make(conf *remote_pb.RemoteConf) (remote_storage.RemoteStorageClient, error) {
client := &s3RemoteStorageClient{
conf: conf,
supportTagging: true,
conf: conf,
}
accessKey := util.Nvl(conf.BaiduAccessKey, os.Getenv("BDCLOUD_ACCESS_KEY"))
secretKey := util.Nvl(conf.BaiduSecretKey, os.Getenv("BDCLOUD_SECRET_KEY"))