mirror of
https://github.com/minio/minio.git
synced 2025-11-28 13:09:09 -05:00
fix: lint errors after upgrading golangci-lint (#12368)
This commit is contained in:
@@ -145,11 +145,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()
|
||||
}
|
||||
|
||||
// Raw - returns the underlying representation.
|
||||
|
||||
Reference in New Issue
Block a user