mirror of
https://github.com/pgsty/minio.git
synced 2026-03-15 17:17:01 +01: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