[#577] Fix delete from tagging cache
Signed-off-by: Angira Kekteeva <kira@nspcc.ru>
This commit is contained in:
parent
8031baddb6
commit
3188fd8eb7
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue