frostfs-api-go/pkg/client
Leonard Lyubich 6d531a07a5
[] client/object: Always return number of bytes read from Get stream ()
Fix failure to comply with a requirement of stdlib `io.Reader` docs: `When
Read encounters an error or end-of-file condition after successfully reading
n > 0 bytes, it returns the number of bytes read.`

Prepare a platform for unit tests and test the affected case.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-06-23 14:15:58 +03:00
..
accounting.go [] go.mod: remove pkg/errors 2021-05-19 11:14:56 +03:00
client.go [] pkg/client: Extend Client interface with Conn method 2021-05-31 10:13:00 +03:00
container.go [] pkg: Remove usage of deprecated elements 2021-06-01 08:04:12 +03:00
netmap.go [] go.mod: remove pkg/errors 2021-05-19 11:14:56 +03:00
object.go [] client/object: Always return number of bytes read from Get stream () 2021-06-23 14:15:58 +03:00
object_test.go [] client/object: Always return number of bytes read from Get stream () 2021-06-23 14:15:58 +03:00
opts.go [] client: Add WithURIAddress option 2021-06-02 15:55:20 +03:00
raw.go [] pkg/client: Extend Client interface with Conn method 2021-05-31 10:13:00 +03:00
reputation.go [] go.mod: remove pkg/errors 2021-05-19 11:14:56 +03:00
session.go [] pkg: Remove usage of deprecated elements 2021-06-01 08:04:12 +03:00