debug-shell(cli): allow passing in-stream using command.Cli

Signed-off-by: Justin Chadwell <me@jedevc.com>
pull/1716/head
Justin Chadwell 2 years ago
parent 75e2c46295
commit 14aebe713e

@ -47,7 +47,7 @@ func debugShellCmd(dockerCli command.Cli) *cobra.Command {
err = monitor.RunMonitor(ctx, "", nil, controllerapi.InvokeConfig{ err = monitor.RunMonitor(ctx, "", nil, controllerapi.InvokeConfig{
Tty: true, Tty: true,
}, c, os.Stdin, os.Stdout, os.Stderr, printer) }, c, dockerCli.In(), os.Stdout, os.Stderr, printer)
con.Reset() con.Reset()
return err return err
}, },

Loading…
Cancel
Save