diff --git a/pkg/jsonconfig/eval.go b/pkg/jsonconfig/eval.go index 7eac26b94..0020821a4 100644 --- a/pkg/jsonconfig/eval.go +++ b/pkg/jsonconfig/eval.go @@ -201,11 +201,7 @@ func (c *ConfigParser) evaluateExpressions(m map[string]interface{}, seenKeys [] for k, ei := range m { thisPath := append(seenKeys, k) switch subval := ei.(type) { - case string: - continue - case bool: - continue - case float64: + case string, bool, float64, nil: continue case []interface{}: if len(subval) == 0 {