mirror of
https://github.com/yannh/kubeconform.git
synced 2026-04-18 01:49:53 +00:00
some linting simplifications
This commit is contained in:
parent
fac08ee8cf
commit
c4bd7d0668
3 changed files with 3 additions and 4 deletions
|
|
@ -58,5 +58,5 @@ func (r LocalSchemas) DownloadSchema(resourceKind, resourceAPIVersion, k8sVersio
|
|||
defer f.Close()
|
||||
content, err := ioutil.ReadAll(f)
|
||||
|
||||
return content, nil
|
||||
return content, err
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue