fix lint errors

Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
This commit is contained in:
Lyndon-Li
2022-10-18 21:08:55 +08:00
parent df5436b380
commit d7b4583b2b
32 changed files with 94 additions and 81 deletions

View File

@@ -62,7 +62,7 @@ func IsRunningInNode(ctx context.Context, namespace string, nodeName string, pod
}
for _, pod := range pods.Items {
if kube.IsPodRunning(&pod) != nil {
if kube.IsPodRunning(&pod) != nil { //nolint
continue
}