fix(auth): harden unified diagnostic execution
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
package compose
|
||||
|
||||
import (
|
||||
"errors"
|
||||
"os/exec"
|
||||
"syscall"
|
||||
"time"
|
||||
@@ -25,6 +24,6 @@ func terminateProcess(command *exec.Cmd, done <-chan error) error {
|
||||
case <-done:
|
||||
return nil
|
||||
case <-time.After(finalTerminationBound):
|
||||
return errors.New("Docker command could not be reaped")
|
||||
return ErrProcessReap
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user