diff options
author | Steve Taylor <steven@taylormuff.co.uk> | 2020-03-05 22:28:22 +0000 |
---|---|---|
committer | Steve Taylor <steven@taylormuff.co.uk> | 2020-03-05 22:28:22 +0000 |
commit | 89b083f8b409f24d2bfce793f150f79c8160dd95 (patch) | |
tree | bdf9de2c526b7fe6fc76f65be9de4ed1ecccad0b /pkg/api/server/register_monitor.go | |
parent | 60e9e7ca9c9081f31f6b37c922f0058f82b989ad (diff) | |
download | podman-89b083f8b409f24d2bfce793f150f79c8160dd95.tar.gz podman-89b083f8b409f24d2bfce793f150f79c8160dd95.tar.bz2 podman-89b083f8b409f24d2bfce793f150f79c8160dd95.zip |
Register handlers without version to align with docker API
Signed-off-by: Steve Taylor <steven@taylormuff.co.uk>
Diffstat (limited to 'pkg/api/server/register_monitor.go')
-rw-r--r-- | pkg/api/server/register_monitor.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/api/server/register_monitor.go b/pkg/api/server/register_monitor.go index dbe0d27ce..b821efbaa 100644 --- a/pkg/api/server/register_monitor.go +++ b/pkg/api/server/register_monitor.go @@ -7,5 +7,7 @@ import ( func (s *APIServer) registerMonitorHandlers(r *mux.Router) error { r.Handle(VersionedPath("/monitor"), s.APIHandler(handlers.UnsupportedHandler)) + // Added non version path to URI to support docker non versioned paths + r.Handle("/monitor", s.APIHandler(handlers.UnsupportedHandler)) return nil } |