diff --git a/api/layer/tagging.go b/api/layer/tagging.go index 51f6f19b0..48136c331 100644 --- a/api/layer/tagging.go +++ b/api/layer/tagging.go @@ -85,6 +85,8 @@ func (n *layer) DeleteObjectTagging(ctx context.Context, p *ObjectVersion) (*dat return nil, err } + p.VersionID = version.OID.EncodeToString() + n.systemCache.Delete(objectTaggingCacheKey(p)) return version, nil