[#2007] services/object: Fix comment

Signed-off-by: Evgenii Stratonikov <evgeniy@morphbits.ru>
This commit is contained in:
Evgenii Stratonikov 2022-11-02 11:09:55 +03:00 committed by fyrchik
parent abf4a63585
commit 289a7827c4

View file

@ -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