executor_unix and _windows stub getAllPids ByScanning

This commit is contained in:
Lang Martin
2019-07-17 17:28:10 -04:00
parent 1a9c598fc2
commit ab3e6259d0
2 changed files with 8 additions and 0 deletions

View File

@@ -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()
}

View File

@@ -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()
}