Fixed issue when in linting rampage

This commit is contained in:
Juan Font Alonso 2022-06-26 14:24:57 +02:00
parent 00885dffe1
commit 8551b0dde0

View file

@ -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").