From d1c26af144b314f30cd69d42e33ab8cbacb080ff Mon Sep 17 00:00:00 2001 From: Brent Baude Date: Sat, 14 Mar 2020 14:01:20 -0500 Subject: apiv2 add bindings for logs|events add go-bindings for logs and events. tests were also added. Signed-off-by: Brent Baude --- pkg/api/server/register_events.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/api/server') diff --git a/pkg/api/server/register_events.go b/pkg/api/server/register_events.go index b0f403709..e909303da 100644 --- a/pkg/api/server/register_events.go +++ b/pkg/api/server/register_events.go @@ -63,6 +63,6 @@ func (s *APIServer) registerEventsHandlers(r *mux.Router) error { // description: returns a string of json data describing an event // 500: // "$ref": "#/responses/InternalError" - r.Handle(VersionedPath("/events"), s.APIHandler(compat.GetEvents)).Methods(http.MethodGet) + r.Handle(VersionedPath("/libpod/events"), s.APIHandler(compat.GetEvents)).Methods(http.MethodGet) return nil } -- cgit v1.2.3-54-g00ecf