mirror of
https://github.com/yannh/kubeconform.git
synced 2026-04-14 00:14:45 +00:00
remove gosimple offences
This commit is contained in:
parent
e4f6eae348
commit
65968cf540
7 changed files with 7 additions and 7 deletions
2
pkg/cache/inmemory.go
vendored
2
pkg/cache/inmemory.go
vendored
|
|
@ -31,7 +31,7 @@ func (c *inMemory) Get(resourceKind, resourceAPIVersion, k8sVersion string) (int
|
|||
defer c.RUnlock()
|
||||
schema, ok := c.schemas[k]
|
||||
|
||||
if ok == false {
|
||||
if !ok {
|
||||
return nil, fmt.Errorf("schema not found in in-memory cache")
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue