dotcloud/docker

View on GitHub
client/container_wait.go

Summary

Maintainability
A
35 mins
Test Coverage

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

func (cli *Client) ContainerWait(ctx context.Context, containerID string, condition container.WaitCondition) (<-chan container.WaitResponse, <-chan error) {
    resultC := make(chan container.WaitResponse)
    errC := make(chan error, 1)

    // Make sure we negotiated (if the client is configured to do so),
Severity: Major
Found in client/container_wait.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status