Skip to content

Commit

Permalink
Fix wrong use of middleware context in hypervisor.
Browse files Browse the repository at this point in the history
  • Loading branch information
Evan Lin committed Nov 11, 2019
1 parent 21251cb commit 1c2450a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/hypervisor/hypervisor.go
Original file line number Diff line number Diff line change
Expand Up @@ -650,7 +650,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
}
Expand Down

0 comments on commit 1c2450a

Please sign in to comment.