dotcloud/docker

View on GitHub
client/config_inspect.go

Summary

Maintainability
A
35 mins
Test Coverage

Method Client.ConfigInspectWithRaw has 5 return statements (exceeds 4 allowed).
Open

func (cli *Client) ConfigInspectWithRaw(ctx context.Context, id string) (swarm.Config, []byte, error) {
    if id == "" {
        return swarm.Config{}, nil, objectNotFoundError{object: "config", id: id}
    }
    if err := cli.NewVersionError(ctx, "1.30", "config inspect"); err != nil {
Severity: Major
Found in client/config_inspect.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status