kubeconform/pkg
Michael Lee 57e1c2b437 Stop validating output of closed channel in Validate
Currently, Validate and ValidateWithContext always returns a
result with status `Empty` and a `missing 'kind' key` error as
the final item in the returned slice.

This is because ValidateWithContext currently will parse the output of
`resourcesChan`, even when the context is finished and we get back
a default `Resource` struct.

This PR modifies the code to skip validating this case.
2024-03-31 16:41:23 -07:00
..
cache Update Golang to 1.21.4 (#245) 2023-11-18 18:31:34 +01:00
config Fail early on incorrect version of k8s (#254) 2023-12-24 18:05:04 +01:00
output Fix junit output, also ensure junit output is deterministic (#253) 2023-12-24 18:06:03 +01:00
registry Update Golang to 1.21.4 (#245) 2023-11-18 18:31:34 +01:00
resource Allow to skip resources using the GVK notation (#92) 2022-10-16 14:59:48 +02:00
validator Stop validating output of closed channel in Validate 2024-03-31 16:41:23 -07:00