projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
17244: Use crunch-run's cgroup, not init's, for "host" stats.
[arvados.git]
/
lib
/
crunchrun
/
docker.go
diff --git
a/lib/crunchrun/docker.go
b/lib/crunchrun/docker.go
index 4adc680d9bf7c3402e43048576f917fb3c2ade09..1fd8c4fd256d65d5441f4567b311a07dcf3c318c 100644
(file)
--- a/
lib/crunchrun/docker.go
+++ b/
lib/crunchrun/docker.go
@@
-202,7
+202,7
@@
func (e *dockerExecutor) Pid() int {
if err != nil && ctr.State != nil {
return ctr.State.Pid
} else {
- return
-1
+ return
0
}
}