mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-08 04:32:37 +00:00
Merge pull request #2813 from derekwaynecarr/ns_url
Move namespace from query param to path part
This commit is contained in:
@@ -136,7 +136,7 @@ func (r *Request) Namespace(namespace string) *Request {
|
||||
return r
|
||||
}
|
||||
if len(namespace) > 0 {
|
||||
return r.setParam("namespace", namespace)
|
||||
return r.Path("ns").Path(namespace)
|
||||
}
|
||||
return r
|
||||
}
|
||||
|
Reference in New Issue
Block a user