Fix test that incorrectly passed a boolean value to a flag that doesn't take a value
@@ -14,7 +14,6 @@ import (
"os"
"os/exec"
"path/filepath"
- "strconv"
"time"
"github.com/tedsuo/ifrit"
@@ -335,7 +334,7 @@ func (a *ATCCommand) getATCCommand() *exec.Cmd {
}
if a.telemetryOptIn {
- params = append(params, "--telemetry-opt-in", strconv.FormatBool(a.telemetryOptIn))
+ params = append(params, "--telemetry-opt-in")
}
return exec.Command(a.atcBin, params...)
