forked from TrueCloudLab/frostfs-node
[#2069] innerring: Do not panic in Head
Signed-off-by: Evgenii Stratonikov <evgeniy@morphbits.ru>
This commit is contained in:
parent
98e6dc5ce8
commit
9f7ac6bf9f
2 changed files with 2 additions and 0 deletions
|
@ -34,6 +34,7 @@ Changelog for NeoFS Node
|
||||||
- Losing locking context after metabase resync (#1502)
|
- Losing locking context after metabase resync (#1502)
|
||||||
- Removing all trees by container ID if tree ID is empty in `pilorama.Forest.TreeDrop` (#1940)
|
- Removing all trees by container ID if tree ID is empty in `pilorama.Forest.TreeDrop` (#1940)
|
||||||
- Concurrent mode changes in the metabase and blobstor (#2057)
|
- Concurrent mode changes in the metabase and blobstor (#2057)
|
||||||
|
- Panic in IR when performing HEAD requests (#2069)
|
||||||
|
|
||||||
### Removed
|
### Removed
|
||||||
### Updated
|
### Updated
|
||||||
|
|
|
@ -202,6 +202,7 @@ func (x Client) HeadObject(prm HeadObjectPrm) (*HeadObjectRes, error) {
|
||||||
|
|
||||||
cliPrm.FromContainer(prm.objAddr.Container())
|
cliPrm.FromContainer(prm.objAddr.Container())
|
||||||
cliPrm.ByID(prm.objAddr.Object())
|
cliPrm.ByID(prm.objAddr.Object())
|
||||||
|
cliPrm.UseKey(*x.key)
|
||||||
|
|
||||||
cliRes, err := x.c.ObjectHead(prm.ctx, cliPrm)
|
cliRes, err := x.c.ObjectHead(prm.ctx, cliPrm)
|
||||||
if err == nil {
|
if err == nil {
|
||||||
|
|
Loading…
Reference in a new issue