From 197f2a25ae8b18d4aa52f9a3a9020607bb4d4683 Mon Sep 17 00:00:00 2001 From: "Jituri, Pranav" Date: Sat, 21 Nov 2020 00:30:05 +0530 Subject: [PATCH] Removed unused debugging lines --- pkg/drivers/kic/kic.go | 2 +- pkg/minikube/tunnel/kic/ssh_conn.go | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/pkg/drivers/kic/kic.go b/pkg/drivers/kic/kic.go index b0d7edcdbd..592d7be0aa 100644 --- a/pkg/drivers/kic/kic.go +++ b/pkg/drivers/kic/kic.go @@ -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))) } } diff --git a/pkg/minikube/tunnel/kic/ssh_conn.go b/pkg/minikube/tunnel/kic/ssh_conn.go index 93a0801998..f1d132aea5 100644 --- a/pkg/minikube/tunnel/kic/ssh_conn.go +++ b/pkg/minikube/tunnel/kic/ssh_conn.go @@ -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{