mirror of
https://github.com/minio/minio.git
synced 2025-11-22 18:47:43 -05:00
run gofumpt cleanup across code-base (#14015)
This commit is contained in:
@@ -113,7 +113,6 @@ func cacheControlOpts(o ObjectInfo) *cacheControl {
|
||||
if strings.EqualFold(k, "cache-control") {
|
||||
headerVal = v
|
||||
}
|
||||
|
||||
}
|
||||
if headerVal == "" {
|
||||
return nil
|
||||
@@ -581,6 +580,7 @@ func (t *multiWriter) Write(p []byte) (n int, err error) {
|
||||
}
|
||||
return len(p), nil
|
||||
}
|
||||
|
||||
func cacheMultiWriter(w1 io.Writer, w2 *io.PipeWriter) io.Writer {
|
||||
return &multiWriter{backendWriter: w1, cacheWriter: w2}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user