Removed unused debugging lines

pull/9753/head
Jituri, Pranav 2020-11-21 00:30:05 +05:30
parent bf7b09f484
commit 197f2a25ae
No known key found for this signature in database
GPG Key ID: 3D6729F63C792B4C
2 changed files with 1 additions and 2 deletions

View File

@ -230,7 +230,7 @@ func (d *Driver) prepareSSH() error {
}
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)))
}
}

View File

@ -79,7 +79,6 @@ func createSSHConn(name, sshPort, sshKey string, svc *v1.Service) *sshConn {
command = "sudo"
sshArgs = append([]string{"ssh"}, sshArgs...)
}
out.Step(style.Command,"Command - [{{.command}}], Arguments - [{{.args}}]",out.V{"command": command, "args":sshArgs})
cmd := exec.Command(command, sshArgs...)
return &sshConn{