update readme

This commit is contained in:
Yann Hamon 2020-10-18 19:03:35 +02:00
parent 0e00467469
commit 9e4d9f9ca4
2 changed files with 3 additions and 3 deletions

View file

@ -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