diff --git a/client/client_test.go b/client/client_test.go index fc749edf6..9b16f93e7 100644 --- a/client/client_test.go +++ b/client/client_test.go @@ -259,10 +259,12 @@ func TestClient_Fingerprint_Periodic(t *testing.T) { } t.Parallel() + // these constants are only defined when nomad_test is enabled, so these fail + // our linter without explicit disabling. c1 := testClient(t, func(c *config.Config) { c.Options = map[string]string{ - driver.ShutdownPeriodicAfter: "true", - driver.ShutdownPeriodicDuration: "3", + driver.ShutdownPeriodicAfter: "true", // nolint: varcheck + driver.ShutdownPeriodicDuration: "3", // nolint: varcheck } }) defer c1.Shutdown() diff --git a/client/structs/structs.go b/client/structs/structs.go index 15b70e2ce..9348acfb6 100644 --- a/client/structs/structs.go +++ b/client/structs/structs.go @@ -199,7 +199,7 @@ type FingerprintResponse struct { Resources *structs.Resources // Detected is a boolean indicating whether the fingerprinter detected - // if the resource was avaialble + // if the resource was available Detected bool }