Skip to content

Commit

Permalink
Clean up (#3687)
Browse files Browse the repository at this point in the history
  • Loading branch information
PBundyra authored Nov 29, 2024
1 parent 59ef4b7 commit c4e82fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controller/tas/topology_ungater.go
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ func determineRanksLookup(pod *corev1.Pod) (*string, *replicatedJobsInfo) {
}
}
// Check if this is Pod group
if jobCount, _ := utilpod.ReadUIntFromLabel(pod, kueuealpha.PodGroupPodIndexLabel); jobCount != nil {
if _, found := pod.Labels[kueuealpha.PodGroupPodIndexLabel]; found {
return ptr.To(kueuealpha.PodGroupPodIndexLabel), nil
}
// Check if this is batch/Job
Expand Down

0 comments on commit c4e82fd

Please sign in to comment.