From d1d9a84fa1548ace67a3f73bdfce77b375e7349b Mon Sep 17 00:00:00 2001 From: kifen Date: Thu, 9 Jan 2020 14:40:18 +0100 Subject: [PATCH] backport middleware context --- pkg/hypervisor/hypervisor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/hypervisor/hypervisor.go b/pkg/hypervisor/hypervisor.go index 093821964e..79231f9096 100644 --- a/pkg/hypervisor/hypervisor.go +++ b/pkg/hypervisor/hypervisor.go @@ -665,7 +665,7 @@ func (m *Node) appCtx(w http.ResponseWriter, r *http.Request) (*httpCtx, bool) { } func (m *Node) tpCtx(w http.ResponseWriter, r *http.Request) (*httpCtx, bool) { - ctx, ok := m.appCtx(w, r) + ctx, ok := m.nodeCtx(w, r) if !ok { return nil, false }