mirror of
https://github.com/juanfont/headscale.git
synced 2025-08-25 18:08:28 +00: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