From 8438fa4fec01142ad9f6943f6e0c429c64d951b7 Mon Sep 17 00:00:00 2001 From: Brent Baude Date: Tue, 26 May 2020 16:12:38 -0500 Subject: Add streaming ability to endpoint Signed-off-by: Brent Baude --- pkg/domain/infra/abi/events.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'pkg/domain/infra/abi/events.go') diff --git a/pkg/domain/infra/abi/events.go b/pkg/domain/infra/abi/events.go index 20773cdce..7ec9db369 100644 --- a/pkg/domain/infra/abi/events.go +++ b/pkg/domain/infra/abi/events.go @@ -5,12 +5,9 @@ import ( "github.com/containers/libpod/libpod/events" "github.com/containers/libpod/pkg/domain/entities" - "github.com/sirupsen/logrus" ) func (ic *ContainerEngine) Events(ctx context.Context, opts entities.EventsOptions) error { readOpts := events.ReadOptions{FromStart: opts.FromStart, Stream: opts.Stream, Filters: opts.Filter, EventChannel: opts.EventChan, Since: opts.Since, Until: opts.Until} - err := ic.Libpod.Events(readOpts) - logrus.Error(err) - return err + return ic.Libpod.Events(readOpts) } -- cgit v1.2.3-54-g00ecf