From 5fb383243234dfebc468207cfd7f64eca1b7f849 Mon Sep 17 00:00:00 2001 From: Alexander Morozov Date: Tue, 13 Sep 2016 09:28:31 -0700 Subject: [PATCH] libcontainerd: do not use failfast for events stream New grpc uses failfast by default, but that code was written with other default in mind, so just preserve it for now. Signed-off-by: Alexander Morozov --- libcontainerd/remote_linux.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcontainerd/remote_linux.go b/libcontainerd/remote_linux.go index e7fcb257b6..10253dacb1 100644 --- a/libcontainerd/remote_linux.go +++ b/libcontainerd/remote_linux.go @@ -279,7 +279,7 @@ func (r *remote) startEventsMonitor() error { er := &containerd.EventsRequest{ Timestamp: tsp, } - events, err := r.apiClient.Events(context.Background(), er) + events, err := r.apiClient.Events(context.Background(), er, grpc.FailFast(false)) if err != nil { return err }