fix: sync cloud tags when set tags

This commit is contained in:
Qu Xuan
2021-03-13 20:48:15 +08:00
parent 42ec188c30
commit 3b2c804e21
+1
View File
@@ -1908,6 +1908,7 @@ func (bucket *SBucket) OnMetadataUpdated(ctx context.Context, userCred mcclient.
if diff.IsChanged() {
logclient.AddSimpleActionLog(bucket, logclient.ACT_UPDATE_TAGS, diff, userCred, true)
}
syncVirtualResourceMetadata(ctx, userCred, bucket, iBucket)
}
func (manager *SBucketManager) ListItemExportKeys(ctx context.Context,