Skip to content

Commit

Permalink
fix up linting
Browse files Browse the repository at this point in the history
  • Loading branch information
chelseakomlo committed Feb 1, 2018
1 parent e5ccc55 commit 15cb768
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions client/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion client/structs/structs.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 15cb768

Please sign in to comment.