dotcloud/docker

View on GitHub
api/server/router/container/notify_linux.go

Summary

Maintainability
A
40 mins
Test Coverage

Function notifyClosed has 6 return statements (exceeds 4 allowed).
Open

func notifyClosed(ctx context.Context, conn net.Conn, notify func()) {
    sc, ok := conn.(syscall.Conn)
    if !ok {
        log.G(ctx).Debug("notifyClosed: conn does not support close notifications")
        return
Severity: Major
Found in api/server/router/container/notify_linux.go - About 40 mins to fix

    There are no issues that match your filters.

    Category
    Status