mirror of
https://github.com/juanfont/headscale.git
synced 2026-03-29 21:52:12 +02:00
graceful shutdown lint fixes
This commit is contained in:
4
poll.go
4
poll.go
@@ -290,8 +290,8 @@ func (h *Headscale) PollNetMapStream(
|
||||
keepAliveChan chan []byte,
|
||||
updateChan chan struct{},
|
||||
) {
|
||||
h.wg.Add(1)
|
||||
defer h.wg.Done()
|
||||
h.pollNetMapStreamWG.Add(1)
|
||||
defer h.pollNetMapStreamWG.Done()
|
||||
|
||||
ctx := context.WithValue(req.Context(), machineNameContextKey, machine.Hostname)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user