mirror of
https://github.com/yannh/kubeconform.git
synced 2026-04-11 23:44:16 +00:00
update readme
This commit is contained in:
parent
0e00467469
commit
9e4d9f9ca4
2 changed files with 3 additions and 3 deletions
|
|
@ -66,7 +66,6 @@ func ValidateStream(r io.Reader, regs []registry.Registry, k8sVersion string, c
|
|||
return []validationResult{{err: fmt.Errorf("failed reading file: %s", err)}}
|
||||
}
|
||||
|
||||
|
||||
validationResults := []validationResult{}
|
||||
if len(rawResources) == 0 {
|
||||
// In case a file has no resources, we want to capture that the file was parsed - and therefore send a message with an empty resource and no error
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue