Skip to content

Commit

Permalink
ignore staticcheck on integation tests
Browse files Browse the repository at this point in the history
staticcheck is having a hard time with those build tags.
  • Loading branch information
fsouza committed Feb 12, 2019
1 parent 7e54f41 commit 901d3a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions integration_unix_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

package docker

//lint:ignore staticcheck is dumb
func integrationCreateContainerOpts(imageName string, hostConfig *HostConfig) CreateContainerOptions {
return CreateContainerOptions{
Config: &Config{
Expand Down
1 change: 1 addition & 0 deletions integration_windows_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

package docker

//lint:ignore staticcheck is dumb
func integrationCreateContainerOpts(imageName string, hostConfig *HostConfig) CreateContainerOptions {
return CreateContainerOptions{
Config: &Config{
Expand Down

0 comments on commit 901d3a5

Please sign in to comment.