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.