From 0aaf1ca4ff51685a2ffda2e60a89cd68a21a3c1c Mon Sep 17 00:00:00 2001 From: Jordan Liggitt Date: Tue, 12 Mar 2019 13:17:07 -0700 Subject: [PATCH] Use apps/v1 APIs in integration tests --- test/integration/apiserver/apply/apply_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/integration/apiserver/apply/apply_test.go b/test/integration/apiserver/apply/apply_test.go index d0787190fa9..e6dc2872399 100644 --- a/test/integration/apiserver/apply/apply_test.go +++ b/test/integration/apiserver/apply/apply_test.go @@ -448,7 +448,7 @@ func TestApplyRemoveContainerPort(t *testing.T) { defer closeFn() obj := []byte(`{ - "apiVersion": "extensions/v1beta1", + "apiVersion": "apps/v1", "kind": "Deployment", "metadata": { "name": "deployment", @@ -482,7 +482,7 @@ func TestApplyRemoveContainerPort(t *testing.T) { }`) _, err := client.CoreV1().RESTClient().Patch(types.ApplyPatchType). - AbsPath("/apis/extensions/v1beta1"). + AbsPath("/apis/apps/v1"). Namespace("default"). Resource("deployments"). Name("deployment").