From 11177c95ec4affdc787bd5156ea883531a2f6164 Mon Sep 17 00:00:00 2001 From: Manuel Alejandro de Brito Fontes Date: Mon, 25 Feb 2019 12:37:20 -0300 Subject: [PATCH] Fix e2e tests --- test/e2e/annotations/customhttperrors.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/annotations/customhttperrors.go b/test/e2e/annotations/customhttperrors.go index f03a2e570..385406798 100644 --- a/test/e2e/annotations/customhttperrors.go +++ b/test/e2e/annotations/customhttperrors.go @@ -106,7 +106,7 @@ var _ = framework.IngressNginxDescribe("Annotations - custom-http-errors", func( customDefaultBackend := "from-annotation" f.NewEchoDeploymentWithNameAndReplicas(customDefaultBackend, 1) - err = framework.UpdateIngress(f.KubeClientSet, f.IngressController.Namespace, host, func(ingress *extensions.Ingress) error { + err = framework.UpdateIngress(f.KubeClientSet, f.Namespace, host, func(ingress *extensions.Ingress) error { ingress.ObjectMeta.Annotations["nginx.ingress.kubernetes.io/default-backend"] = customDefaultBackend return nil })