From 639022c258c7156b300121c4d62078ec0563b42e Mon Sep 17 00:00:00 2001 From: Anton Bronnikov Date: Mon, 20 Jul 2020 13:15:33 +0200 Subject: [PATCH] Add missing opts parameter to downstream call to write.Dataset --- write/writer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/write/writer.go b/write/writer.go index 3b4ebb1a..63f10ebc 100644 --- a/write/writer.go +++ b/write/writer.go @@ -447,7 +447,7 @@ func DataSetToFile(path string, ds *element.DataSet, opts ...Option) error { if err != nil { return err } - if err := DataSet(out, ds); err != nil { + if err := DataSet(out, ds, opts...); err != nil { out.Close() return err }