fix: appease linter on darwin (#11154)

Fixing up some linting errors that show up on Darwin, but not in CI.
This commit is contained in:
Spike Curtis
2023-12-12 17:02:28 +04:00
committed by GitHub
parent 2883cad6ad
commit edeb9bb42a
8 changed files with 20 additions and 11 deletions
+4 -1
View File
@@ -44,8 +44,11 @@ type listeningPortsHandler struct {
ignorePorts map[int]string
cacheDuration time.Duration
mut sync.Mutex
//nolint: unused // used on some but not all platforms
mut sync.Mutex
//nolint: unused // used on some but not all platforms
ports []codersdk.WorkspaceAgentListeningPort
//nolint: unused // used on some but not all platforms
mtime time.Time
}