api/server/router/container/notify_linux.go
Function notifyClosed
has 6 return statements (exceeds 4 allowed). Open
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