Removing some references to v1beta1 from test code
This commit is contained in:
@@ -22,8 +22,7 @@ import (
|
||||
"testing"
|
||||
|
||||
"github.com/GoogleCloudPlatform/kubernetes/pkg/api"
|
||||
"github.com/GoogleCloudPlatform/kubernetes/pkg/api/v1beta1"
|
||||
"github.com/GoogleCloudPlatform/kubernetes/pkg/api/v1beta2"
|
||||
"github.com/GoogleCloudPlatform/kubernetes/pkg/api/testapi"
|
||||
"github.com/GoogleCloudPlatform/kubernetes/pkg/runtime"
|
||||
"github.com/GoogleCloudPlatform/kubernetes/pkg/watch"
|
||||
)
|
||||
@@ -37,17 +36,17 @@ func TestEncodeDecodeRoundTrip(t *testing.T) {
|
||||
{
|
||||
watch.Added,
|
||||
&api.Pod{ObjectMeta: api.ObjectMeta{Name: "foo"}},
|
||||
v1beta1.Codec,
|
||||
testapi.Codec(),
|
||||
},
|
||||
{
|
||||
watch.Modified,
|
||||
&api.Pod{ObjectMeta: api.ObjectMeta{Name: "foo"}},
|
||||
v1beta2.Codec,
|
||||
testapi.Codec(),
|
||||
},
|
||||
{
|
||||
watch.Deleted,
|
||||
&api.Pod{ObjectMeta: api.ObjectMeta{Name: "foo"}},
|
||||
api.Codec,
|
||||
testapi.Codec(),
|
||||
},
|
||||
}
|
||||
for i, testCase := range testCases {
|
||||
|
Reference in New Issue
Block a user