From 14aebe713eb07613776f71ef0fec585a4e41032b Mon Sep 17 00:00:00 2001 From: Justin Chadwell Date: Fri, 9 Jun 2023 10:50:35 +0100 Subject: [PATCH] debug-shell(cli): allow passing in-stream using command.Cli Signed-off-by: Justin Chadwell --- commands/debug-shell.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/debug-shell.go b/commands/debug-shell.go index 0b091572..6b814094 100644 --- a/commands/debug-shell.go +++ b/commands/debug-shell.go @@ -47,7 +47,7 @@ func debugShellCmd(dockerCli command.Cli) *cobra.Command { err = monitor.RunMonitor(ctx, "", nil, controllerapi.InvokeConfig{ Tty: true, - }, c, os.Stdin, os.Stdout, os.Stderr, printer) + }, c, dockerCli.In(), os.Stdout, os.Stderr, printer) con.Reset() return err },