Change "/ns" to "/namespaces" in few remaining places.

This commit is contained in:
Wojciech Tyczynski
2015-03-24 13:00:26 +01:00
parent d0b468f4b0
commit f7191d626d
6 changed files with 13 additions and 13 deletions

View File

@@ -169,7 +169,7 @@ func (c *testClient) ValidateCommon(t *testing.T, err error) {
func buildResourcePath(namespace, resource string) string {
if len(namespace) > 0 {
if !(testapi.Version() == "v1beta1" || testapi.Version() == "v1beta2") {
return path.Join("ns", namespace, resource)
return path.Join("namespaces", namespace, resource)
}
}
return resource