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