kyaml: enable errcheck & golint; fix gofmt

This commit is contained in:
Igor Zibarev
2019-11-15 21:14:41 +03:00
parent 7b71263583
commit 7f1e93c6f5
2 changed files with 4 additions and 4 deletions

View File

@@ -14,7 +14,7 @@ linters:
- depguard
- dogsled
- dupl
# - errcheck
- errcheck
# - funlen
# - gochecknoinits
# - goconst
@@ -22,7 +22,7 @@ linters:
- gocyclo
- gofmt
- goimports
# - golint
- golint
- gosec
- gosimple
- govet

View File

@@ -109,9 +109,9 @@ metadata:
return
}
instance := &ContainerFilter{
Image: "example.com:version",
Image: "example.com:version",
Network: "test-net",
Config: cfg,
Config: cfg,
}
cmd, err := instance.getCommand()
if !assert.NoError(t, err) {