client/plugin_upgrade.go
Method Client.PluginUpgrade
has 5 return statements (exceeds 4 allowed). Open
Open
func (cli *Client) PluginUpgrade(ctx context.Context, name string, options types.PluginInstallOptions) (rc io.ReadCloser, err error) {
if err := cli.NewVersionError(ctx, "1.26", "plugin upgrade"); err != nil {
return nil, err
}
query := url.Values{}