mirror of
https://github.com/juanfont/headscale.git
synced 2025-08-11 23:47:36 +00:00
Fixed issue when in linting rampage
This commit is contained in:
2
poll.go
2
poll.go
@@ -66,7 +66,7 @@ func (h *Headscale) PollNetMapHandler(
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
mapRequest := tailcfg.MapRequest{}
|
mapRequest := tailcfg.MapRequest{}
|
||||||
err = decode(body, &req, &machineKey, h.privateKey)
|
err = decode(body, &mapRequest, &machineKey, h.privateKey)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Error().
|
log.Error().
|
||||||
Str("handler", "PollNetMap").
|
Str("handler", "PollNetMap").
|
||||||
|
Reference in New Issue
Block a user