mirror of
https://github.com/harness/drone.git
synced 2025-05-02 13:40:22 +00:00
Merge pull request #2015 from mikkeloscar/bugfix/proc-tree
Fix segfault in model.Tree(procs)
This commit is contained in:
commit
1dd723b1b2
@ -37,6 +37,7 @@ SELECT
|
|||||||
,proc_environ
|
,proc_environ
|
||||||
FROM procs
|
FROM procs
|
||||||
WHERE proc_build_id = $1
|
WHERE proc_build_id = $1
|
||||||
|
ORDER BY proc_pid ASC
|
||||||
|
|
||||||
-- name: procs-find-build-pid
|
-- name: procs-find-build-pid
|
||||||
|
|
||||||
|
@ -164,6 +164,7 @@ SELECT
|
|||||||
,proc_environ
|
,proc_environ
|
||||||
FROM procs
|
FROM procs
|
||||||
WHERE proc_build_id = $1
|
WHERE proc_build_id = $1
|
||||||
|
ORDER BY proc_pid ASC
|
||||||
`
|
`
|
||||||
|
|
||||||
var procsFindBuildPid = `
|
var procsFindBuildPid = `
|
||||||
|
Loading…
x
Reference in New Issue
Block a user