We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64b3972 commit 0667a39Copy full SHA for 0667a39
pkg/scheduler/scheduler.go
@@ -121,7 +121,7 @@ func (s *Scheduler) onDelPod(obj any) {
121
if !ok {
122
return
123
}
124
- s.podManager.mutex.Lock()
+ s.podManager.mutex.Lock()
125
defer s.podManager.mutex.Unlock()
126
pi, ok := s.pods[pod.UID]
127
if ok {
pkg/scheduler/scheduler_test.go
@@ -1077,8 +1077,8 @@ func Test_ResourceQuota(t *testing.T) {
1077
args: extenderv1.ExtenderArgs{
1078
Pod: &corev1.Pod{
1079
ObjectMeta: metav1.ObjectMeta{
1080
- Name: "test4",
1081
- UID: "test4-uid4",
+ Name: "test4",
+ UID: "test4-uid4",
1082
Namespace: "default",
1083
},
1084
Spec: corev1.PodSpec{
0 commit comments