mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 02:15:43 +03:00
executor_unix and _windows stub getAllPids ByScanning
This commit is contained in:
@@ -43,3 +43,7 @@ func (e *UniversalExecutor) shutdownProcess(sig os.Signal, proc *os.Process) err
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
func (e *UniversalExecutor) getAllPids() (map[int]*nomadPid, error) {
|
||||
return getAllPidsByScanning()
|
||||
}
|
||||
|
||||
@@ -67,3 +67,7 @@ func (e *UniversalExecutor) shutdownProcess(_ os.Signal, proc *os.Process) error
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
func (e *UniversalExecutor) getAllPids() (map[int]*nomadPid, error) {
|
||||
return getAllPidsByScanning()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user