Fix NeoFS Object Layer -> GetObjectNInfo

This commit is contained in:
Evgeniy Kulikov 2020-07-03 17:10:18 +03:00
parent be43700e8f
commit d78a2c4488

View file

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