Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(RE-15687) Use relative path for pooler status and summary #186

Merged
merged 1 commit into from
Aug 7, 2023

Conversation

yachub
Copy link

@yachub yachub commented Aug 7, 2023

Fixes #185

For requests to the /status and /summary endpoints, use a relative path instead of an absolute path, since the generic non api version specific paths were removed in v3.

This should be backwards compatible with v2 (API v1 and v2) since those api specific paths existed in previous versions. v3 removed the generic reroute path: https://github.com/puppetlabs/vmpooler/blob/16d23a0226372bcab342c046b94b9832dc0a58ba/lib/vmpooler/api/v1.rb#L648

@yachub yachub added the bug label Aug 7, 2023
@yachub yachub marked this pull request as ready for review August 7, 2023 15:59
@yachub yachub requested a review from a team as a code owner August 7, 2023 15:59
@yachub yachub merged commit bfae973 into main Aug 7, 2023
@yachub yachub deleted the fix_status_path branch August 7, 2023 17:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

status and summary broken for pooler service after v3
3 participants