mirror of
https://github.com/minio/minio.git
synced 2026-11-18 14:59:20 +00:00
fix: lint errors after upgrading golangci-lint (#12368)
This commit is contained in:
1 parent
ed4941a5f3
commit
4fd1378242
13 files changed
+26
-50
No files matched your search
@@ -103,11 +103,7 @@ func (r *Record) WriteCSV(writer io.Writer, opts sql.WriteCSVOpts) error {
|
||||
return err
|
||||
}
|
||||
w.Flush()
|
||||
if err := w.Error(); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
return nil
|
||||
return w.Error()
|
||||
}
|
||||
|
||||
// WriteJSON - encodes to JSON data.
|
||||
|
||||
Reference in new issue
Block a user