diff --git a/pkg/snapshot/file/publisher.go b/pkg/snapshot/file/publisher.go index c2a2d05..1d70a81 100644 --- a/pkg/snapshot/file/publisher.go +++ b/pkg/snapshot/file/publisher.go @@ -95,8 +95,7 @@ func newFileWriter(path string) (ret fileWriter, err error) { if err != nil { return } - buf := file //bufio.NewWriter(file) - ret = fileWriter{csv.NewWriter(buf)} + ret = fileWriter{csv.NewWriter(file)} return }