Skip to content

Commit

Permalink
Fix 1.10 vet issues
Browse files Browse the repository at this point in the history
Signed-off-by: Timothy St. Clair <timothysc@gmail.com>
  • Loading branch information
timothysc committed Jun 27, 2018
1 parent 0b2f49b commit cc0fbd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/sonobuoy/app/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ func submitSonobuoyRun(cmd *cobra.Command, args []string) {
}

if !runflags.skipPreflight {
if errs := sbc.PreflightChecks(&ops.PreflightConfig{runflags.namespace}); len(errs) > 0 {
if errs := sbc.PreflightChecks(&ops.PreflightConfig{Namespace: runflags.namespace}); len(errs) > 0 {
errlog.LogError(errors.New("Preflight checks failed"))
for _, err := range errs {
errlog.LogError(err)
Expand Down

0 comments on commit cc0fbd3

Please sign in to comment.