ceph: handle golangci-lint linter gosimple
this commit handles all the errors check for golangci-lint linter gosimple. Signed-off-by: subhamkrai <subhamkumarrai03@gmail.com>
This commit is contained in:
1 parent
513567f309
commit
25c116a4bd
42 files changed
+100
-159
No files matched your search
@@ -521,11 +521,7 @@ func isCMTConfigOverride(obj runtime.Object) bool {
|
||||
}
|
||||
|
||||
objectName := cm.GetName()
|
||||
if objectName == k8sutil.ConfigOverrideName {
|
||||
return true
|
||||
}
|
||||
|
||||
return false
|
||||
return objectName == k8sutil.ConfigOverrideName
|
||||
}
|
||||
|
||||
func isCMToIgnoreOnDelete(obj runtime.Object) bool {
|
||||
|
||||
Reference in new issue
Block a user