mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-13 21:25:09 +00:00
Returning 404 on invalid server URL
This commit is contained in:
@@ -363,6 +363,7 @@ func getTestRequests() []struct {
|
||||
{"GET", "/api", "", code200},
|
||||
{"GET", "/healthz", "", code200},
|
||||
{"GET", "/version", "", code200},
|
||||
{"GET", "/invalidURL", "", code404},
|
||||
}
|
||||
return requests
|
||||
}
|
||||
|
Reference in New Issue
Block a user