Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Twitter Mesos Q3 Sprint 3
-
2
Description
For example, if master adds a route "/api/v1/scheduler", a handler named "api/v1/scheduler" is added to 'master' libprocess.
But when a request is posted to the above path, process::visit() looks for a http handler named "api" instead of "api/v1/scheduler".
Ideally libprocess should look for handlers in the following preference order:
"api/v1/scheduler" --> "api/v1" --> "api"