Skip to content

Commit de9c2c2

Browse files
author
Amanda Hager Lopes de Andrade Katz
committed
Fixes high CPU usage in kubectl drain
1 parent 112dbd5 commit de9c2c2

File tree

1 file changed

+0
-1
lines changed
  • staging/src/k8s.io/kubectl/pkg/drain

1 file changed

+0
-1
lines changed

staging/src/k8s.io/kubectl/pkg/drain/drain.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,6 @@ func (d *Helper) evictPods(pods []corev1.Pod, policyGroupVersion string, getPodF
349349
if err != nil {
350350
errors = append(errors, err)
351351
}
352-
default:
353352
}
354353
}
355354

0 commit comments

Comments
 (0)