1
0
mirror of https://github.com/juanfont/headscale.git synced 2026-02-07 20:04:00 +01:00
juanfont.headscale/cmd
Kristoffer Dalby 4b0fc9c164 cmd/hi: fix contextcheck issues
Propagate context through function call chains to enable proper
cancellation and timeout handling:

- createDockerClient: accept context parameter
- getCurrentDockerContext: use exec.CommandContext
- NewStatsCollector: accept context parameter
- checkGoInstallation, checkGitRepository, checkRequiredFiles:
  accept context and use exec.CommandContext
- Update all call sites in cleanup.go and doctor.go
2026-02-06 11:38:54 +00:00
..
headscale all: fix golangci-lint issues (noctx, unused, unparam, goconst, prealloc, predeclared, gocritic) 2026-02-06 09:37:22 +00:00
hi cmd/hi: fix contextcheck issues 2026-02-06 11:38:54 +00:00
mapresponses all: apply golangci-lint fixes 2026-02-06 06:54:44 +00:00