diff options
author | Brent Baude <bbaude@redhat.com> | 2020-05-26 16:12:38 -0500 |
---|---|---|
committer | Brent Baude <bbaude@redhat.com> | 2020-05-27 12:16:39 -0500 |
commit | 8438fa4fec01142ad9f6943f6e0c429c64d951b7 (patch) | |
tree | 476706a57d94e383728e12486e3933c52baf8147 /pkg/domain/infra/tunnel | |
parent | 89b4683cc4666f789ebc3d21453ef65e37775642 (diff) | |
download | podman-8438fa4fec01142ad9f6943f6e0c429c64d951b7.tar.gz podman-8438fa4fec01142ad9f6943f6e0c429c64d951b7.tar.bz2 podman-8438fa4fec01142ad9f6943f6e0c429c64d951b7.zip |
Add streaming ability to endpoint
Signed-off-by: Brent Baude <bbaude@redhat.com>
Diffstat (limited to 'pkg/domain/infra/tunnel')
-rw-r--r-- | pkg/domain/infra/tunnel/events.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/domain/infra/tunnel/events.go b/pkg/domain/infra/tunnel/events.go index 93da3aeb4..6a08a1f85 100644 --- a/pkg/domain/infra/tunnel/events.go +++ b/pkg/domain/infra/tunnel/events.go @@ -25,6 +25,7 @@ func (ic *ContainerEngine) Events(ctx context.Context, opts entities.EventsOptio for e := range binChan { opts.EventChan <- entities.ConvertToLibpodEvent(e) } + close(opts.EventChan) }() - return system.Events(ic.ClientCxt, binChan, nil, &opts.Since, &opts.Until, filters) + return system.Events(ic.ClientCxt, binChan, nil, &opts.Since, &opts.Until, filters, &opts.Stream) } |