We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73b1868 commit f34eda9Copy full SHA for f34eda9
pkg/validation/kubeconform.go
@@ -3,6 +3,7 @@ package validation
3
import (
4
"context"
5
6
+ log "github.com/sirupsen/logrus"
7
"github.com/yannh/kubeconform/pkg/validator"
8
)
9
@@ -62,6 +63,8 @@ func kStatusToStatus(kStatus validator.Status) Status {
62
63
case validator.Empty:
64
return StatusEmpty
65
default:
- return StatusOther
66
+ // This shouldn't happen
67
+ log.Warnf("Got unexpected status from kubeconform: %+v", kStatus)
68
+ return StatusEmpty
69
}
70
pkg/validation/result.go
@@ -9,7 +9,6 @@ const (
StatusError Status = "error"
10
StatusSkipped Status = "skipped"
11
StatusEmpty Status = "empty"
12
- StatusOther Status = "other"
13
14
15
// CheckType represents the type of check that has been done.
0 commit comments