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

client: Remove project from format string API path. #12359

Merged
merged 1 commit into from
Oct 10, 2023

Conversation

markylaing
Copy link
Contributor

(*ProtocolLXD).queryOperation calls (*ProtocolLXD).query which will set the project query parameter if necessary. Including it here as part of a formatted string can lead to urls like
/1.0/instances/c1/rebuild?project=. This isn't necessarily a problem but would be unexpected on the API side.

`(*ProtocolLXD).queryOperation` calls `(*ProtocolLXD).query` which will
set the project query parameter if necessary. Including it here as part
of a formatted string can lead to urls like
`/1.0/instances/c1/rebuild?project=`. This isn't necessarily a problem
but would be unexpected on the API side.

Signed-off-by: Mark Laing <[email protected]>
@markylaing markylaing self-assigned this Oct 9, 2023
@markylaing markylaing requested a review from tomponline as a code owner October 9, 2023 23:16
@tomponline tomponline merged commit 0ccc9bf into canonical:main Oct 10, 2023
25 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.

2 participants