diff --git a/event.go b/event.go index ce1fb502..78c4e2ed 100644 --- a/event.go +++ b/event.go @@ -7,6 +7,7 @@ package docker import ( "encoding/json" "errors" + "fmt" "io" "math" "net" @@ -336,10 +337,7 @@ func (eventState *eventMonitoringState) sendEvent(event *APIEvents) { } for _, listener := range eventState.listeners { - select { - case listener <- event: - default: - } + listener <- event } } }