Merge pull request #549 from armosec/fileutils-update

remove error when reading yaml
This commit is contained in:
David Wertenteil
2022-06-29 09:09:27 +03:00
committed by GitHub
-2
View File
@@ -148,8 +148,6 @@ func readYamlFile(yamlFile []byte) ([]workloadinterface.IMetadata, []error) {
yamlObjs = append(yamlObjs, o)
}
}
} else {
errs = append(errs, fmt.Errorf("failed to convert yaml file to map[string]interface, file content: %v", j))
}
}