remove gosimple offences

This commit is contained in:
Christoph Mertz 2021-02-19 17:01:54 +01:00
parent e4f6eae348
commit 65968cf540
7 changed files with 7 additions and 7 deletions

View file

@ -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")
}