Removing legacyBehavior param from pkg/client

This commit is contained in:
nikhiljindal
2015-06-15 15:15:55 -07:00
parent 19a7e87c06
commit 3d63c71cbc
8 changed files with 42 additions and 97 deletions

View File

@@ -269,12 +269,11 @@ func TestSetKubernetesDefaults(t *testing.T) {
{
Config{},
Config{
Prefix: "/api",
Version: latest.Version,
Codec: latest.Codec,
LegacyBehavior: (latest.Version == "v1beta1" || latest.Version == "v1beta2"),
QPS: 5,
Burst: 10,
Prefix: "/api",
Version: latest.Version,
Codec: latest.Codec,
QPS: 5,
Burst: 10,
},
false,
},