dotcloud/docker

View on GitHub
pkg/ioutils/fswriters.go

Summary

Maintainability
A
35 mins
Test Coverage

Method atomicFileWriter.Close has 5 return statements (exceeds 4 allowed).
Open

func (w *atomicFileWriter) Close() (retErr error) {
    defer func() {
        if retErr != nil || w.writeErr != nil {
            os.Remove(w.f.Name())
        }
Severity: Major
Found in pkg/ioutils/fswriters.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status