andygrove commented on code in PR #251:
URL: https://github.com/apache/arrow-ballista/pull/251#discussion_r975627080
##########
ballista/rust/scheduler/src/api/mod.rs:
##########
@@ -85,7 +85,7 @@ fn with_data_server<T: AsLogicalPlan + Clone, U: 'static +
AsExecutionPlan>(
pub fn get_routes<T: AsLogicalPlan + Clone, U: 'static + AsExecutionPlan>(
scheduler_server: SchedulerServer<T, U>,
) -> BoxedFilter<(impl Reply,)> {
- let routes = warp::path("state")
+ let routes = warp::path!("api" / "state")
Review Comment:
Agreed. I am just beginning to learn about the warp framework, so will see
if this can be avoided as I learn more.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]