summaryrefslogtreecommitdiff
path: root/pkg/api/server/server.go
diff options
context:
space:
mode:
authorBrent Baude <bbaude@redhat.com>2020-02-11 15:00:41 -0600
committerBrent Baude <bbaude@redhat.com>2020-02-11 15:00:41 -0600
commit5b830cca9042892af5461d87ade3e9dd61d95e43 (patch)
tree9fcc8d26d1e12d0f952dc82cfd46ccd114772be9 /pkg/api/server/server.go
parent86b5a89d1afb641196214ed9c57e83e617776c5f (diff)
downloadpodman-5b830cca9042892af5461d87ade3e9dd61d95e43.tar.gz
podman-5b830cca9042892af5461d87ade3e9dd61d95e43.tar.bz2
podman-5b830cca9042892af5461d87ade3e9dd61d95e43.zip
apiv2 stream events
the events endpoint should be stream-based. it also needed to be registered to answer and not produce 404s. Signed-off-by: Brent Baude <bbaude@redhat.com>
Diffstat (limited to 'pkg/api/server/server.go')
-rw-r--r--pkg/api/server/server.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/api/server/server.go b/pkg/api/server/server.go
index 7bb0f5481..87b11b716 100644
--- a/pkg/api/server/server.go
+++ b/pkg/api/server/server.go
@@ -106,6 +106,7 @@ func newServer(runtime *libpod.Runtime, duration time.Duration, listener *net.Li
server.RegisterContainersHandlers,
server.RegisterDistributionHandlers,
server.registerExecHandlers,
+ server.RegisterEventsHandlers,
server.registerHealthCheckHandlers,
server.registerImagesHandlers,
server.registerInfoHandlers,