fix: fix linting issue on my computer

This commit is contained in:
Adrien Raffin-Caboisse
2022-04-25 22:33:53 +02:00
parent 2c448d4a5c
commit fec8cda16a
2 changed files with 2 additions and 2 deletions

View File

@@ -619,7 +619,7 @@ func (h *Headscale) scheduledPollWorker(
}
}
func closeChanWithLog(channel C, machine, name string) {
func closeChanWithLog[C chan []byte | chan struct{}](channel C, machine, name string) {
log.Trace().
Str("handler", "PollNetMap").
Str("machine", machine).