X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/ac077775e10886db490ab7331826a678aa946fc9..3433f306caf560017377b32adf7a23842ba9ab31:/lib/crunchrun/executor.go diff --git a/lib/crunchrun/executor.go b/lib/crunchrun/executor.go index 6ec5b838f6..308b05cdeb 100644 --- a/lib/crunchrun/executor.go +++ b/lib/crunchrun/executor.go @@ -51,8 +51,9 @@ type containerExecutor interface { // Start the container Start() error - // CID the container will belong to - CgroupID() string + // Process ID of a process in the container. Return 0 if + // container is finished or no process has started yet. + Pid() int // Stop the container immediately Stop() error