dotcloud/docker

View on GitHub
pkg/fileutils/fileutils_linux.go

Summary

Maintainability
A
35 mins
Test Coverage

Function GetTotalUsedFds has 5 return statements (exceeds 4 allowed).
Open

func GetTotalUsedFds(ctx context.Context) int {
    ctx, span := tracing.StartSpan(ctx, "GetTotalUsedFds")
    defer span.End()

    name := fmt.Sprintf("/proc/%d/fd", os.Getpid())
Severity: Major
Found in pkg/fileutils/fileutils_linux.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status