mirror of
https://git.vectorsigma.ru/public/headscale.git
synced 2026-07-29 00:18:06 +00: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