Skip to content

Commit c4e82fd

Browse files
authored
Clean up (#3687)
1 parent 59ef4b7 commit c4e82fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/controller/tas/topology_ungater.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ func determineRanksLookup(pod *corev1.Pod) (*string, *replicatedJobsInfo) {
409409
}
410410
}
411411
// Check if this is Pod group
412-
if jobCount, _ := utilpod.ReadUIntFromLabel(pod, kueuealpha.PodGroupPodIndexLabel); jobCount != nil {
412+
if _, found := pod.Labels[kueuealpha.PodGroupPodIndexLabel]; found {
413413
return ptr.To(kueuealpha.PodGroupPodIndexLabel), nil
414414
}
415415
// Check if this is batch/Job

0 commit comments

Comments
 (0)