From 9e6846d61c082a802c0bf97f2ab3291c099dd9ee Mon Sep 17 00:00:00 2001 From: tstromberg Date: Wed, 12 Feb 2020 15:37:22 -0800 Subject: [PATCH] Fix unnecessary conversion (unconvert) --- hack/preload-images/preload_images.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/preload-images/preload_images.go b/hack/preload-images/preload_images.go index 609ef0971a1c..82fdba5b4162 100644 --- a/hack/preload-images/preload_images.go +++ b/hack/preload-images/preload_images.go @@ -89,7 +89,7 @@ func copyTarballToHost() error { } dest := filepath.Join("out/", tarballFilename) - args := []string{"scp", "-o", "StrictHostKeyChecking=no", "-i", string(sshKey), fmt.Sprintf("docker@%s:/home/docker/%s", ip, tarballFilename), dest} + args := []string{"scp", "-o", "StrictHostKeyChecking=no", "-i", sshKey, fmt.Sprintf("docker@%s:/home/docker/%s", ip, tarballFilename), dest} _, err = runCmd(args) return err }