Skip to content

Conversation

@tomsanbear
Copy link
Contributor

Which issue does this PR close?

Closes #1329

Rationale for this change

Axum 0.8 changed route parameter syntax from :param to {param}. Old syntax causes panic at startup.

What changes are included in this PR?

Update 5 route definitions in ballista/scheduler/src/api/mod.rs

Are there any user-facing changes?

No - fixes broken functionality.

Change route parameter syntax from :param to {param} to fix runtime
panics when starting scheduler with REST API enabled.
@milenkovicm
Copy link
Contributor

thanks @tomsanbear good catch,
I should have catch that when i was upgrading it, in my defence i was following rust mantra, if it compiles it works 😀

@milenkovicm milenkovicm merged commit aed4b7a into apache:main Oct 16, 2025
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Scheduler panics at startup when REST API enabled with Axum 0.8

2 participants