Removed unused debugging lines
parent
bf7b09f484
commit
197f2a25ae
|
@ -230,7 +230,7 @@ func (d *Driver) prepareSSH() error {
|
||||||
}
|
}
|
||||||
|
|
||||||
if !strings.Contains(string(icaclsCmdOut),"Successfully processed 1 files; Failed processing 0 files") {
|
if !strings.Contains(string(icaclsCmdOut),"Successfully processed 1 files; Failed processing 0 files") {
|
||||||
return errors.Errorf("icacls failed applying permissions - %s, output - [%s]", icaclsCmdErr, strings.TrimSpace(string(icaclsCmdOut)))
|
return errors.Errorf("icacls failed applying permissions - err - [%s], output - [%s]", icaclsCmdErr, strings.TrimSpace(string(icaclsCmdOut)))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -79,7 +79,6 @@ func createSSHConn(name, sshPort, sshKey string, svc *v1.Service) *sshConn {
|
||||||
command = "sudo"
|
command = "sudo"
|
||||||
sshArgs = append([]string{"ssh"}, sshArgs...)
|
sshArgs = append([]string{"ssh"}, sshArgs...)
|
||||||
}
|
}
|
||||||
out.Step(style.Command,"Command - [{{.command}}], Arguments - [{{.args}}]",out.V{"command": command, "args":sshArgs})
|
|
||||||
cmd := exec.Command(command, sshArgs...)
|
cmd := exec.Command(command, sshArgs...)
|
||||||
|
|
||||||
return &sshConn{
|
return &sshConn{
|
||||||
|
|
Loading…
Reference in New Issue