Skip to content

Commit

Permalink
Remove the usage of the extensions API for deployments. (knative#4760)
Browse files Browse the repository at this point in the history
  • Loading branch information
markusthoemmes authored and knative-prow-robot committed Jul 16, 2019
1 parent a95ed0d commit bdb1550
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/minscale_readiness_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ func TestMinScale(t *testing.T) {
t.Fatalf("The Revision %q did not become ready: %v", revName, err)
}

deployment, err := clients.KubeClient.Kube.ExtensionsV1beta1().Deployments(test.ServingNamespace).Get(revName+"-deployment", metav1.GetOptions{})
deployment, err := clients.KubeClient.Kube.AppsV1().Deployments(test.ServingNamespace).Get(revName+"-deployment", metav1.GetOptions{})
if err != nil {
t.Fatalf("Failed to get Deployment for Revision %s, err: %v", revName, err)
}
Expand Down

0 comments on commit bdb1550

Please sign in to comment.