dotcloud/docker

View on GitHub
client/secret_inspect.go

Summary

Maintainability
A
35 mins
Test Coverage

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

func (cli *Client) SecretInspectWithRaw(ctx context.Context, id string) (swarm.Secret, []byte, error) {
    if err := cli.NewVersionError(ctx, "1.25", "secret inspect"); err != nil {
        return swarm.Secret{}, nil, err
    }
    if id == "" {
Severity: Major
Found in client/secret_inspect.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status