You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pkg/resourceinterpreter/default/thirdparty/resourcecustomizations/batch.volcano.sh/v1alpha1/Job/customizations.yaml
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ spec:
19
19
end
20
20
if phase == 'Running' or phase == 'Completed' or phase == "Pending" or
21
21
phase == "Aborting" or phase == "Aborted" or phase == "Restarting" or
22
-
phase == "Completing" then
22
+
phase == "Completing" or phase == "Terminating" or phase == "Terminated" then
23
23
return true
24
24
end
25
25
return false
@@ -136,7 +136,7 @@ spec:
136
136
for i = 1, #statusItems do
137
137
local s = statusItems[i].status
138
138
if s ~= nil then
139
-
status.minAvailable = math.max(status.minAvailable, s.minAvailable or 0)
139
+
status.minAvailable = status.minAvailable + (s.minAvailable or 0)
140
140
status.pending = status.pending + (s.pending or 0)
141
141
status.running = status.running + (s.running or 0)
142
142
status.succeeded = status.succeeded + (s.succeeded or 0)
0 commit comments