frostfs-node/pkg/services/object/get
Leonard Lyubich b2002ffc6d [#543] object/get: Fix potential NPE on request forwarder
Request forwarding callback should be called only if set since it is an
optional parameter. In GetRangeHash forwarder is never set.

Call `forwarder` function only if it is non-nil. Remove no longer needed
`hashOnly` option.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-05-20 11:33:24 +03:00
..
v2 [#521] *: use stdlib errors package 2021-05-19 16:42:54 +03:00
assemble.go [#431] services/object: Re-sign original read requests during forwarding 2021-05-04 13:56:55 +03:00
container.go [#234] services/object: Support netmap epoch and lookup dead in read ops 2021-01-12 19:19:11 +03:00
exec.go [#543] object/get: Fix potential NPE on request forwarder 2021-05-20 11:33:24 +03:00
get.go [#543] object/get: Fix potential NPE on request forwarder 2021-05-20 11:33:24 +03:00
get_test.go [#521] *: use stdlib errors package 2021-05-19 16:42:54 +03:00
local.go [#521] *: use stdlib errors package 2021-05-19 16:42:54 +03:00
prm.go [#431] services/object: Re-sign original read requests during forwarding 2021-05-04 13:56:55 +03:00
remote.go [#521] *: use stdlib errors package 2021-05-19 16:42:54 +03:00
res.go [#235] object/getrangehash: Implement new service processing 2020-12-11 17:19:37 +03:00
service.go [#428] client: Hide client cache behind interface in dependent packages 2021-03-24 10:11:52 +03:00
util.go [#543] object/get: Fix potential NPE on request forwarder 2021-05-20 11:33:24 +03:00