change v1beta3 to v1 in test cases

This commit is contained in:
Chao Xu
2015-06-03 17:50:22 -07:00
parent 2ee8eb67a9
commit 6b81c064ed
4 changed files with 12 additions and 12 deletions

View File

@@ -28,14 +28,14 @@ import (
func TestScopeNamingGenerateLink(t *testing.T) {
selfLinker := &setTestSelfLinker{
t: t,
expectedSet: "/api/v1beta3/namespaces/other/services/foo",
expectedSet: "/api/v1/namespaces/other/services/foo",
name: "foo",
namespace: "other",
}
s := scopeNaming{
meta.RESTScopeNamespace,
selfLinker,
"/api/v1beta3/namespaces/{namespace}/services/{name}",
"/api/v1/namespaces/{namespace}/services/{name}",
true,
}
service := &api.Service{