1
0
mirror of https://github.com/docker/cli.git synced 2025-08-30 12:01:10 +03:00

Replace deprecated Cobra command.SetOutput() with command.SetOut()

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn
2020-05-07 14:25:59 +02:00
parent 4f058143c7
commit 719169db63
83 changed files with 138 additions and 138 deletions

View File

@@ -128,7 +128,7 @@ func newPluginCommand(dockerCli *command.DockerCli, plugin *cobra.Command, meta
}
opts, flags := cli.SetupPluginRootCommand(cmd)
cmd.SetOutput(dockerCli.Out())
cmd.SetOut(dockerCli.Out())
cmd.AddCommand(
plugin,