mirror of
https://github.com/yannh/kubeconform.git
synced 2026-04-24 12:24:42 +00:00
minor nits
This commit is contained in:
parent
b4547ce367
commit
8fc1df8d8b
5 changed files with 24 additions and 24 deletions
|
|
@ -56,7 +56,5 @@ func (r LocalSchemas) DownloadSchema(resourceKind, resourceAPIVersion, k8sVersio
|
|||
return nil, fmt.Errorf("failed to open schema %s", schemaFile)
|
||||
}
|
||||
defer f.Close()
|
||||
content, err := ioutil.ReadAll(f)
|
||||
|
||||
return content, err
|
||||
return ioutil.ReadAll(f)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue