Chore: go mod tidy after apiserver refactor (#81824)

This commit is contained in:
Ryan McKinley
2024-02-02 13:03:19 -08:00
committed by GitHub
parent 68345b9596
commit 651faff08a
3 changed files with 3 additions and 12 deletions

View File

@@ -147,11 +147,6 @@ func ProvideService(
req.URL.Path = "/"
}
// TODO: add support for the existing MetricsEndpointBasicAuth config option
if req.URL.Path == "/apiserver-metrics" {
req.URL.Path = "/metrics"
}
resp := responsewriter.WrapForHTTP1Or2(c.Resp)
s.handler.ServeHTTP(resp, req)
}