fix unit test for cert

pull/5530/head
Medya Gh 2019-10-07 22:43:07 -07:00
parent a78deab26f
commit 0c435b050b
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ func NewFakeCommandRunner() *FakeCommandRunner {
// RunCmd implements the Command Runner interface to run a exec.Cmd object // RunCmd implements the Command Runner interface to run a exec.Cmd object
func (f *FakeCommandRunner) RunCmd(cmd *exec.Cmd) (*RunResult, error) { 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()) glog.Infof("(FakeCommandRunner) Run: %v", rr.Command())
start := time.Now() start := time.Now()