From d7303f416b0a290c7a58a2c893858404fda36563 Mon Sep 17 00:00:00 2001 From: geek Date: Tue, 5 Jun 2018 21:04:12 +0900 Subject: [PATCH] ing --- .gitignore | 1 + servlet/auth-servlet.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 3733e36..2736063 100644 --- a/.gitignore +++ b/.gitignore @@ -66,3 +66,4 @@ glide.lock .DS_Store dist/ debug +.Gopkg.lock diff --git a/servlet/auth-servlet.go b/servlet/auth-servlet.go index ef50a4e..4880f30 100644 --- a/servlet/auth-servlet.go +++ b/servlet/auth-servlet.go @@ -127,7 +127,7 @@ func (s *AuthServlets) Handshake(servletCtx server.ServletCtx, ctx *fasthttp.Req extHeader := &fasthttp.ResponseHeader{} - noAuthProbeStatusType := ocmm.ToNoAuthProbeStatusType(nap.Status.Name) + noAuthProbeStatusType := ocmm.ToNoAuthProbeStatusType(nap.MetaNoAuthProbeStatus.Name) switch noAuthProbeStatusType { case ocmm.NoAuthProbeStatusTypeACCEPT: extHeader.Add(occn.HTTPResponseHeaderKey_NoAuthProbe_Method, occn.HTTPResponseHeaderValue_NoAuthProbe_Method_Accept)