Skip to content

Commit

Permalink
Fixed issue when in linting rampage
Browse files Browse the repository at this point in the history
  • Loading branch information
juanfont committed Jun 26, 2022
1 parent 00885df commit 8551b0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion poll.go
Expand Up @@ -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").
Expand Down

0 comments on commit 8551b0d

Please sign in to comment.