Skip to content

Commit 1d3fd4f

Browse files
committed
fix: list with resourceVersion=0
1 parent 8cd842e commit 1d3fd4f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/services/allocator/nvidia/allocator.go

+1
Original file line numberDiff line numberDiff line change
@@ -1184,6 +1184,7 @@ func getPodsOnNode(client kubernetes.Interface, hostname string, phase string) (
11841184
podList, err = client.CoreV1().Pods(v1.NamespaceAll).List(metav1.ListOptions{
11851185
FieldSelector: selector.String(),
11861186
LabelSelector: labels.Everything().String(),
1187+
ResourceVersion: "0",
11871188
})
11881189
if err != nil {
11891190
return false, err

0 commit comments

Comments
 (0)