Skip to content

Commit fecb037

Browse files
committed
updated no gpu light version
1 parent 6753f5d commit fecb037

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

pkg/docker/Status.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,6 @@ func (h *SidecarHandler) StatusHandler(w http.ResponseWriter, r *http.Request) {
8585
}
8686
log.G(h.Ctx).Info("-- Container exit code is: " + strconv.Itoa(exitCode))
8787
resp[i].Containers = append(resp[i].Containers, v1.ContainerStatus{Name: container.Name, State: v1.ContainerState{Terminated: &v1.ContainerStateTerminated{ExitCode: int32(exitCode)}}, Ready: false})
88-
// release all the GPUs from the container
89-
h.GpuManager.Release(containerName)
9088
}
9189
} else {
9290
log.G(h.Ctx).Info("-- Container " + containerName + " doesn't exist")

0 commit comments

Comments
 (0)