Commit 0aaf1ca4 authored by Jordan Liggitt's avatar Jordan Liggitt

Use apps/v1 APIs in integration tests

parent ac56bd50
......@@ -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").
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment