[#577] Fix delete from tagging cache

Signed-off-by: Angira Kekteeva <kira@nspcc.ru>
This commit is contained in:
Angira Kekteeva 2022-08-09 04:01:29 +04:00 committed by Kira
parent 8031baddb6
commit 3188fd8eb7

View file

@ -85,6 +85,8 @@ func (n *layer) DeleteObjectTagging(ctx context.Context, p *ObjectVersion) (*dat
return nil, err return nil, err
} }
p.VersionID = version.OID.EncodeToString()
n.systemCache.Delete(objectTaggingCacheKey(p)) n.systemCache.Delete(objectTaggingCacheKey(p))
return version, nil return version, nil