Skip to content

Commit ab3e625

Browse files
committed
executor_unix and _windows stub getAllPids ByScanning
1 parent 1a9c598 commit ab3e625

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

drivers/shared/executor/executor_unix.go

+4
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,7 @@ func (e *UniversalExecutor) shutdownProcess(sig os.Signal, proc *os.Process) err
4343

4444
return nil
4545
}
46+
47+
func (e *UniversalExecutor) getAllPids() (map[int]*nomadPid, error) {
48+
return getAllPidsByScanning()
49+
}

drivers/shared/executor/executor_windows.go

+4
Original file line numberDiff line numberDiff line change
@@ -67,3 +67,7 @@ func (e *UniversalExecutor) shutdownProcess(_ os.Signal, proc *os.Process) error
6767

6868
return nil
6969
}
70+
71+
func (e *UniversalExecutor) getAllPids() (map[int]*nomadPid, error) {
72+
return getAllPidsByScanning()
73+
}

0 commit comments

Comments
 (0)