You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by kv...@apache.org on 2021/01/11 02:41:12 UTC

[apisix-ingress-controller] branch master updated: fix: syntax error in e2e (#168)

This is an automated email from the ASF dual-hosted git repository.

kvn pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-ingress-controller.git


The following commit(s) were added to refs/heads/master by this push:
     new 07080a9  fix: syntax error in e2e (#168)
07080a9 is described below

commit 07080a9b88dac1170a46b66eb1657fb02395fe86
Author: Alex Zhang <zc...@gmail.com>
AuthorDate: Mon Jan 11 10:41:02 2021 +0800

    fix: syntax error in e2e (#168)
---
 test/e2e/scaffold/crd.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/e2e/scaffold/crd.go b/test/e2e/scaffold/crd.go
index 8b3c1c5..29338ae 100644
--- a/test/e2e/scaffold/crd.go
+++ b/test/e2e/scaffold/crd.go
@@ -164,7 +164,7 @@ func (s *Scaffold) EnsureNumApisixUpstreamsCreated(desired int) error {
 func (s *Scaffold) ListApisixUpstreams() ([]*v1.Upstream, error) {
 	host, err := s.apisixAdminServiceURL()
 	if err != nil {
-		return err
+		return nil, err
 	}
 	u := url.URL{
 		Scheme: "http",