mirror of
https://github.com/juanfont/headscale.git
synced 2025-11-14 03:42:39 +09:00
Only pass the context in pollmap, no req needed
This commit is contained in:
@@ -90,5 +90,5 @@ func (h *Headscale) PollNetMapHandler(
|
||||
Str("machine", machine.Hostname).
|
||||
Msg("A machine is entering polling via the legacy protocol")
|
||||
|
||||
h.handlePollCommon(writer, req, machine, mapRequest, false)
|
||||
h.handlePollCommon(writer, req.Context(), machine, mapRequest, false)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user