mirror of
https://github.com/pgsty/minio.git
synced 2026-07-19 20:20:25 +03:00
fix: lint errors after upgrading golangci-lint (#12368)
This commit is contained in:
@@ -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