Remove speedtest (#42)

* Remove speedtest

* Go mod tidy
This commit is contained in:
DG
2021-08-09 22:23:21 -04:00
committed by GitHub
parent e4c79030a7
commit 61f5779346
6 changed files with 1 additions and 77 deletions

View File

@@ -5,7 +5,6 @@ import (
"os"
"os/exec"
"strings"
"syscall"
"github.com/juju/errors"
"github.com/rs/zerolog/log"
@@ -26,9 +25,6 @@ func Run(path string, workDir string, args ...string) (string, error) {
stderr := &bytes.Buffer{}
cmd.Stdout = stdout
cmd.Stderr = stderr
cmd.SysProcAttr = &syscall.SysProcAttr{
Pdeathsig: syscall.SIGTERM,
}
log.Debug().Msgf("Executing " + strings.Join(cmd.Args, " "))
err = cmd.Run()
output := strings.TrimSpace(stdout.String())