Skip to content

Commit e65c525

Browse files
committed
Also log the command
Signed-off-by: Akshit Garg <[email protected]>
1 parent c2ef00d commit e65c525

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

percona/clientcmd/clientcmd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ func (c *Client) Exec(ctx context.Context, pod *corev1.Pod, containerName string
6969
TTY: tty,
7070
}, scheme.ParameterCodec)
7171

72-
log.Println("Execing in pod", pod.Name, containerName)
72+
log.Println("Execing in pod", pod.Name, containerName, command)
7373
exec, err := remotecommand.NewSPDYExecutor(c.restconfig, "POST", req.URL())
7474
if err != nil {
7575
return errors.Wrap(err, "failed to create executor")

0 commit comments

Comments
 (0)