default e.getAllPids in executor_basic

This commit is contained in:
Lang Martin 2019-07-18 10:57:27 -04:00
parent 9d0c0c459d
commit a0fe1ffdd5
3 changed files with 4 additions and 8 deletions

View file

@ -15,3 +15,7 @@ func NewExecutorWithIsolation(logger hclog.Logger) Executor {
func (e *UniversalExecutor) configureResourceContainer(_ int) error { return nil }
func (e *UniversalExecutor) runAs(_ string) error { return nil }
func (e *UniversalExecutor) getAllPids() (map[int]*nomadPid, error) {
return getAllPidsByScanning()
}

View file

@ -43,7 +43,3 @@ 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,7 +67,3 @@ func (e *UniversalExecutor) shutdownProcess(_ os.Signal, proc *os.Process) error
return nil
}
func (e *UniversalExecutor) getAllPids() (map[int]*nomadPid, error) {
return getAllPidsByScanning()
}