dotcloud/docker

View on GitHub
daemon/logger/loggerutils/sharedtemp.go

Summary

Maintainability
A
40 mins
Test Coverage

Method sharedTempFileConverter.convert has 6 return statements (exceeds 4 allowed).
Open

func (c *sharedTempFileConverter) convert(f *os.File) (converted *os.File, size int64, err error) {
    dst, err := os.CreateTemp(c.TempDir, "dockerdtemp.*")
    if err != nil {
        return nil, 0, err
    }
Severity: Major
Found in daemon/logger/loggerutils/sharedtemp.go - About 40 mins to fix

    There are no issues that match your filters.

    Category
    Status