dotcloud/docker

View on GitHub
client/plugin_upgrade.go

Summary

Maintainability
A
35 mins
Test Coverage

Method Client.PluginUpgrade has 5 return statements (exceeds 4 allowed).
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{}
Severity: Major
Found in client/plugin_upgrade.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status