Skip to content

Commit

Permalink
executor_unix and _windows stub getAllPids ByScanning
Browse files Browse the repository at this point in the history
  • Loading branch information
langmartin committed Jul 17, 2019
1 parent 1a9c598 commit ab3e625
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions drivers/shared/executor/executor_unix.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
4 changes: 4 additions & 0 deletions drivers/shared/executor/executor_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}

0 comments on commit ab3e625

Please sign in to comment.