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

Send disableUpdate as query parameter #2970

Merged
merged 4 commits into from
Nov 13, 2023
Merged

Conversation

luketomlinson
Copy link
Contributor

@luketomlinson luketomlinson commented Nov 2, 2023

Similar to #2913, we now send disableUpdate as a query parameter

@luketomlinson luketomlinson marked this pull request as ready for review November 7, 2023 21:28
@luketomlinson luketomlinson requested a review from a team as a code owner November 7, 2023 21:28
@@ -87,6 +88,11 @@ public class BrokerHttpClient : RawHttpClientBase
queryParams.Add("architecture", architecture);
}

if (disableUpdate != null)
{
queryParams.Add("disableUpdate", disableUpdate.Value.ToString().ToLower());
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we need to always provide disableUpdate=false as default, or the service will handle the default case when the request doesn't have the query parameter?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah we assume false when it's not there

@luketomlinson luketomlinson merged commit 3136ce3 into main Nov 13, 2023
10 checks passed
@luketomlinson luketomlinson deleted the send-disable-update branch November 13, 2023 15:19
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.

None yet

2 participants