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{
Tty: true,
}, c, os.Stdin, os.Stdout, os.Stderr, printer)
}, c, dockerCli.In(), os.Stdout, os.Stderr, printer)
con.Reset()
return err
},

Loading…
Cancel
Save