From f1d642fee5bb8221ea56b6e175b115bcebf45356 Mon Sep 17 00:00:00 2001 From: caiyixiang Date: Wed, 30 Aug 2017 10:13:40 +0800 Subject: [PATCH] fix a bug of reference --- core/pkg/ingress/annotations/authreq/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/pkg/ingress/annotations/authreq/main.go b/core/pkg/ingress/annotations/authreq/main.go index 4c46dd4d5..c327b942a 100644 --- a/core/pkg/ingress/annotations/authreq/main.go +++ b/core/pkg/ingress/annotations/authreq/main.go @@ -174,7 +174,7 @@ func (a authReq) Parse(ing *extensions.Ingress) (interface{}, error) { return &External{ URL: str, - Host: ur.Hostname(), + Host: ur.Host, SigninURL: signin, Method: m, SendBody: sb,