diff --git a/pkg/runtime/values/helpers.go b/pkg/runtime/values/helpers.go index 69d661aa..c4c0ad62 100644 --- a/pkg/runtime/values/helpers.go +++ b/pkg/runtime/values/helpers.go @@ -215,13 +215,9 @@ func Parse(input interface{}) core.Value { return obj case []byte: return NewBinary(input.([]byte)) - case nil: - return None + case nil: + return None default: - if core.IsNil(input) { - return None - } - v := reflect.ValueOf(input) t := reflect.TypeOf(input) kind := t.Kind()