aboutsummaryrefslogtreecommitdiff
path: root/weed/remote_storage/s3/baidu.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/remote_storage/s3/baidu.go')
-rw-r--r--weed/remote_storage/s3/baidu.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/weed/remote_storage/s3/baidu.go b/weed/remote_storage/s3/baidu.go
index 6021c9330..23bce409e 100644
--- a/weed/remote_storage/s3/baidu.go
+++ b/weed/remote_storage/s3/baidu.go
@@ -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"))