From d78a2c44888d7aeaaa78a92c90bc01d3853eeac4 Mon Sep 17 00:00:00 2001 From: Evgeniy Kulikov Date: Fri, 3 Jul 2020 17:10:18 +0300 Subject: [PATCH] Fix NeoFS Object Layer -> GetObjectNInfo --- neofs/layer/object-layer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofs/layer/object-layer.go b/neofs/layer/object-layer.go index 95ba112..b6ad725 100644 --- a/neofs/layer/object-layer.go +++ b/neofs/layer/object-layer.go @@ -219,7 +219,7 @@ func (n *neofsObject) GetObjectNInfo(ctx context.Context, bucket, object string, pipeCloser := func() { _ = pr.Close() } - return minio.NewGetObjectReaderFromReader(pr, oi, opts.CheckCopyPrecondFn, pipeCloser) + return minio.NewGetObjectReaderFromReader(pr, oi, opts, pipeCloser) } // GetObject from storage.