From e0df3399e1ade6fc51a65a730384e11ecfe96110 Mon Sep 17 00:00:00 2001 From: Roy Crihfield Date: Thu, 17 Feb 2022 14:35:20 +0800 Subject: [PATCH] clanup --- pkg/snapshot/file/publisher.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 }