From 60b719b98b906e12634259ba6cd84a0b1f772dd7 Mon Sep 17 00:00:00 2001 From: Mohamed chiheb Ben jemaa Date: Wed, 26 May 2021 12:37:26 +0100 Subject: [PATCH] 102295: Add Log statement in exec_util.go for ClientSet Creation --- test/e2e/framework/exec_util.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/e2e/framework/exec_util.go b/test/e2e/framework/exec_util.go index 4d96fb37b72..4c328d029f9 100644 --- a/test/e2e/framework/exec_util.go +++ b/test/e2e/framework/exec_util.go @@ -58,6 +58,7 @@ func (f *Framework) ExecWithOptions(options ExecOptions) (string, string, error) const tty = false + Logf("ExecWithOptions: Clientset creation ") req := f.ClientSet.CoreV1().RESTClient().Post(). Resource("pods"). Name(options.PodName). @@ -74,8 +75,8 @@ func (f *Framework) ExecWithOptions(options ExecOptions) (string, string, error) }, scheme.ParameterCodec) var stdout, stderr bytes.Buffer + Logf("ExecWithOptions: execute(POST %s %s)", req.URL()) err = execute("POST", req.URL(), config, options.Stdin, &stdout, &stderr, tty) - if options.PreserveWhitespace { return stdout.String(), stderr.String(), err }