fix unit test for cert
parent
a78deab26f
commit
0c435b050b
|
@ -49,7 +49,7 @@ func NewFakeCommandRunner() *FakeCommandRunner {
|
|||
|
||||
// RunCmd implements the Command Runner interface to run a exec.Cmd object
|
||||
func (f *FakeCommandRunner) RunCmd(cmd *exec.Cmd) (*RunResult, error) {
|
||||
rr := &RunResult{Args: cmd.Args[2:]} // to get rid of /bin/bash -c part
|
||||
rr := &RunResult{Args: cmd.Args} // to get rid of /bin/bash -c part
|
||||
glog.Infof("(FakeCommandRunner) Run: %v", rr.Command())
|
||||
|
||||
start := time.Now()
|
||||
|
|
Loading…
Reference in New Issue