mirror of
https://github.com/yannh/kubeconform.git
synced 2026-04-14 00:14:45 +00:00
remove gosimple offences
This commit is contained in:
parent
e4f6eae348
commit
65968cf540
7 changed files with 7 additions and 7 deletions
|
|
@ -29,7 +29,7 @@ func processResults(cancel context.CancelFunc, o output.Output, validationResult
|
|||
fmt.Fprint(os.Stderr, "failed writing log\n")
|
||||
}
|
||||
}
|
||||
if success == false && exitOnError {
|
||||
if !success && exitOnError {
|
||||
cancel() // early exit - signal to stop searching for resources
|
||||
break
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue