MCPcopy Create free account
hub / github.com/actiontech/dtle / GetExitResult

Method GetExitResult

driver/handle.go:336–349  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

334}
335
336func (h *taskHandle) GetExitResult() *drivers.ExitResult {
337 h.stateLock.Lock()
338 defer h.stateLock.Unlock()
339 if h.exitResult == nil {
340 return &drivers.ExitResult{
341 ExitCode: 0,
342 Signal: 0,
343 OOMKilled: false,
344 Err: nil,
345 }
346 } else {
347 return h.exitResult.Copy()
348 }
349}
350
351type DriverHandle interface {
352 Run()

Callers 1

handleWaitMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected