From c5d6a30a7b161898b740c71a4e7f797d63860e14 Mon Sep 17 00:00:00 2001 From: Lee Verberne Date: Mon, 15 Nov 2021 13:01:25 -0500 Subject: [PATCH] Fix format string argument count in e2e logging --- test/e2e/framework/exec_util.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/e2e/framework/exec_util.go b/test/e2e/framework/exec_util.go index 59c3be6322e..8283384c828 100644 --- a/test/e2e/framework/exec_util.go +++ b/test/e2e/framework/exec_util.go @@ -23,7 +23,7 @@ import ( "net/url" "strings" - "k8s.io/api/core/v1" + v1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/kubernetes/scheme" restclient "k8s.io/client-go/rest" @@ -75,7 +75,7 @@ func (f *Framework) ExecWithOptions(options ExecOptions) (string, string, error) }, scheme.ParameterCodec) var stdout, stderr bytes.Buffer - Logf("ExecWithOptions: execute(POST %s %s)", req.URL()) + Logf("ExecWithOptions: execute(POST %s)", req.URL()) err = execute("POST", req.URL(), config, options.Stdin, &stdout, &stderr, tty) if options.PreserveWhitespace { return stdout.String(), stderr.String(), err