projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28a733a
)
17244: Fix singularity reporting host stats as container stats.
author
Tom Clegg <tom@curii.com>
Wed, 19 Jul 2023 14:40:07 +0000
(10:40 -0400)
committer
Tom Clegg <tom@curii.com>
Wed, 19 Jul 2023 14:40:07 +0000
(10:40 -0400)
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
lib/crunchrun/singularity.go
patch
|
blob
|
history
diff --git
a/lib/crunchrun/singularity.go
b/lib/crunchrun/singularity.go
index daa0bfe94dd9442d0198d01caa5abbffdf1d3b61..fd26297713c4a77b084d58e72512f6c22b1e670e 100644
(file)
--- a/
lib/crunchrun/singularity.go
+++ b/
lib/crunchrun/singularity.go
@@
-354,11
+354,8
@@
func (e *singularityExecutor) Start() error {
}
func (e *singularityExecutor) Pid() int {
- pid, err := e.containedProcess()
- if err != nil {
- return -1
- }
- return pid
+ // see https://dev.arvados.org/issues/17244#note-21
+ return 0
}
func (e *singularityExecutor) Stop() error {