mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 07:27:21 +00:00
Merge pull request #19357 from timstclair/stats-refactor
Auto commit by PR queue bot
This commit is contained in:
@@ -534,7 +534,7 @@ func TestAuthFilters(t *testing.T) {
|
||||
|
||||
// This is a sanity check that the Handle->HandleWithFilter() delegation is working
|
||||
// Ideally, these would move to registered web services and this list would get shorter
|
||||
expectedPaths := []string{"/healthz", "/stats/", "/metrics"}
|
||||
expectedPaths := []string{"/healthz", "/metrics"}
|
||||
paths := sets.NewString(fw.serverUnderTest.restfulCont.RegisteredHandlePaths()...)
|
||||
for _, expectedPath := range expectedPaths {
|
||||
if !paths.Has(expectedPath) {
|
||||
|
||||
Reference in New Issue
Block a user