dotcloud/docker

View on GitHub
builder/dockerfile/containerbackend.go

Summary

Maintainability
A
40 mins
Test Coverage

Method containerManager.Run has 6 return statements (exceeds 4 allowed).
Open

func (c *containerManager) Run(ctx context.Context, cID string, stdout, stderr io.Writer) (err error) {
    attached := make(chan struct{})
    errCh := make(chan error, 1)
    go func() {
        errCh <- c.backend.ContainerAttachRaw(cID, nil, stdout, stderr, true, attached)
Severity: Major
Found in builder/dockerfile/containerbackend.go - About 40 mins to fix

    There are no issues that match your filters.

    Category
    Status