Activate lint gosimple.

This commit is contained in:
jregan
2019-11-14 20:56:39 -08:00
parent 85d34531a2
commit 3da0afdda0
11 changed files with 94 additions and 63 deletions

View File

@@ -93,10 +93,7 @@ func looksLikeAk8sType(properties myProperties) bool {
return false
}
_, ok = properties["metadata"]
if !ok {
return false
}
return true
return ok
}
const (