mirror of
https://github.com/yannh/kubeconform.git
synced 2026-04-15 16:59:51 +00:00
some linting simplifications
This commit is contained in:
parent
fac08ee8cf
commit
c4bd7d0668
3 changed files with 3 additions and 4 deletions
|
|
@ -24,9 +24,8 @@ func status(err error, skipped bool) int {
|
|||
if err != nil {
|
||||
if _, ok := err.(validator.InvalidResourceError); ok {
|
||||
return INVALID
|
||||
} else {
|
||||
return ERROR
|
||||
}
|
||||
return ERROR
|
||||
}
|
||||
|
||||
return VALID
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue