forked from TrueCloudLab/frostfs-node
[#2007] services/object: Fix comment
Signed-off-by: Evgenii Stratonikov <evgeniy@morphbits.ru>
This commit is contained in:
parent
d8d3588e1b
commit
ff5526038d
1 changed files with 1 additions and 1 deletions
|
@ -145,7 +145,7 @@ func (c *clientWrapper) getObject(exec *execCtx, info coreclient.NodeInfo) (*obj
|
||||||
var errAccessDenied *apistatus.ObjectAccessDenied
|
var errAccessDenied *apistatus.ObjectAccessDenied
|
||||||
if errors.As(err, &errAccessDenied) {
|
if errors.As(err, &errAccessDenied) {
|
||||||
// Current spec allows other storage node to deny access,
|
// Current spec allows other storage node to deny access,
|
||||||
// fallback to GET_RANGE here.
|
// fallback to GET here.
|
||||||
obj, err := c.get(exec, key)
|
obj, err := c.get(exec, key)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
|
|
Loading…
Reference in a new issue