Skip to content

Commit b3acbc1

Browse files
committed
e2e: serial: klog: adapt Infof -> InfoS
not AI generated Signed-off-by: Francesco Romani <[email protected]>
1 parent a044234 commit b3acbc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/e2e/serial/tests/metrics.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ func fetchMetricsFromPod(ctx context.Context, pod *corev1.Pod, metricsAddress, m
100100
"-k",
101101
fmt.Sprintf("https://%s/metrics", endpoint),
102102
}
103-
klog.V(2).Infof("executing cmd: %s on pod %q", cmd, key.String())
103+
klog.V(2).InfoS("executing command", "args", cmd, "pod", key.String())
104104
stdout, stderr, err := remoteexec.CommandOnPod(ctx, e2eclient.K8sClient, pod, cmd...)
105105
Expect(err).ToNot(HaveOccurred(), "failed exec command on pod. pod=%q; cmd=%q; err=%v; stderr=%q", key.String(), cmd, err, stderr)
106106
Expect(stdout).NotTo(BeEmpty(), stdout)

0 commit comments

Comments
 (0)