Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
luke-lombardi committed Oct 25, 2024
1 parent 9f8dd59 commit f2d7d57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/worker/lifecycle.go
Original file line number Diff line number Diff line change
Expand Up @@ -261,8 +261,8 @@ func (s *Worker) specFromRequest(request *types.ContainerRequest, options *Conta
spec.Hooks.Prestart = nil
}

// We need to modify the spec to support Cedana C/R
if s.checkpointingAvailable {
// We need to modify the spec to support Cedana C/R if checkpointing is enabled
if s.checkpointingAvailable && request.CheckpointEnabled {
s.cedanaClient.prepareContainerSpec(spec, request.Gpu != "")
}

Expand Down

0 comments on commit f2d7d57

Please sign in to comment.