mirror of
https://github.com/minio/minio.git
synced 2025-11-09 05:34:56 -05:00
Use new gofumpt (#21613)
Update tinylib. Should fix CI. `gofumpt -w .&&go generate ./...`
This commit is contained in:
@@ -466,7 +466,7 @@ func getHostName(r *http.Request) (hostName string) {
|
||||
} else {
|
||||
hostName = r.Host
|
||||
}
|
||||
return
|
||||
return hostName
|
||||
}
|
||||
|
||||
// Proxy any request to an endpoint.
|
||||
@@ -500,5 +500,5 @@ func proxyRequest(ctx context.Context, w http.ResponseWriter, r *http.Request, e
|
||||
|
||||
r.URL.Host = ep.Host
|
||||
f.ServeHTTP(w, r)
|
||||
return
|
||||
return success
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user