diff options
author | Brent Baude <bbaude@redhat.com> | 2020-02-11 15:00:41 -0600 |
---|---|---|
committer | Brent Baude <bbaude@redhat.com> | 2020-02-11 15:00:41 -0600 |
commit | 5b830cca9042892af5461d87ade3e9dd61d95e43 (patch) | |
tree | 9fcc8d26d1e12d0f952dc82cfd46ccd114772be9 /pkg/api/server/register_events.go | |
parent | 86b5a89d1afb641196214ed9c57e83e617776c5f (diff) | |
download | podman-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/register_events.go')
-rw-r--r-- | pkg/api/server/register_events.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/api/server/register_events.go b/pkg/api/server/register_events.go index a32244f4d..090f66323 100644 --- a/pkg/api/server/register_events.go +++ b/pkg/api/server/register_events.go @@ -29,7 +29,7 @@ func (s *APIServer) RegisterEventsHandlers(r *mux.Router) error { // description: JSON encoded map[string][]string of constraints // responses: // 200: - // $ref: "#/responses/ok" + // description: returns a string of json data describing an event // 500: // "$ref": "#/responses/InternalError" r.Handle(VersionedPath("/events"), APIHandler(s.Context, handlers.GetEvents)) |