We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c2303d commit 65d827cCopy full SHA for 65d827c
src/bin/nativelink.rs
@@ -670,7 +670,7 @@ async fn inner_main(
670
svc = svc.nest_service(
671
path,
672
Router::new().route(
673
- "/scheduler/:instance_name/set_drain_worker/:worker_id/:is_draining",
+ "/scheduler/{instance_name}/set_drain_worker/{worker_id}/{is_draining}",
674
axum::routing::post(
675
move |params: axum::extract::Path<(String, String, String)>| async move {
676
let (instance_name, worker_id, is_draining) = params.0;
0 commit comments