mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-07 12:11:43 +00:00
Change "/ns" to "/namespaces" in few remaining places.
This commit is contained in:
@@ -334,7 +334,7 @@ func TestPollMinions(t *testing.T) {
|
||||
|
||||
func makeNamespaceURL(namespace, suffix string, isClient bool) string {
|
||||
if !(testapi.Version() == "v1beta1" || testapi.Version() == "v1beta2") {
|
||||
return makeURL("/ns/" + namespace + suffix)
|
||||
return makeURL("/namespaces/" + namespace + suffix)
|
||||
}
|
||||
// if this is a url the client should call, encode the url
|
||||
if isClient {
|
||||
|
Reference in New Issue
Block a user