update local code for updated modules
Some tests had to be skipped as there's some issues to address, and some of the result-types cannot be mocked / stubbed. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
@ -18,7 +18,7 @@ func newDisableCommand(dockerCLI command.Cli) *cobra.Command {
|
||||
Args: cli.ExactArgs(1),
|
||||
RunE: func(cmd *cobra.Command, args []string) error {
|
||||
name := args[0]
|
||||
if err := dockerCLI.Client().PluginDisable(cmd.Context(), name, opts); err != nil {
|
||||
if _, err := dockerCLI.Client().PluginDisable(cmd.Context(), name, opts); err != nil {
|
||||
return err
|
||||
}
|
||||
_, _ = fmt.Fprintln(dockerCLI.Out(), name)
|
||||
|
||||
Reference in New Issue
Block a user