Unverified Commit 290cf142 authored by Kubernetes Prow Robot's avatar Kubernetes Prow Robot Committed by GitHub

Merge pull request #75302 from liggitt/apps-v1-test

Use apps/v1 APIs in integration tests
parents fcb102b2 0aaf1ca4
......@@ -461,7 +461,7 @@ func TestApplyRemoveContainerPort(t *testing.T) {
defer closeFn()
obj := []byte(`{
"apiVersion": "extensions/v1beta1",
"apiVersion": "apps/v1",
"kind": "Deployment",
"metadata": {
"name": "deployment",
......@@ -495,7 +495,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