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

fix: build imds compute url correctly and give a default retryAttempts #2566

Merged
merged 2 commits into from
Feb 8, 2024

Conversation

thatmattlong
Copy link
Contributor

@thatmattlong thatmattlong commented Feb 7, 2024

Reason for Change:

IMDS client was incorrectly building the URL for the compute json doc by adding the query params into the url path by urlencoding them instead of making them query params. Also, there was no default retry attempts in the client, causing it to retry forever. Instead we'll set the default to three.

Issue Fixed:

Requirements:

Notes:

@thatmattlong thatmattlong added cns Related to CNS. swift-v2 labels Feb 7, 2024
@thatmattlong thatmattlong requested a review from a team as a code owner February 7, 2024 20:33
@thatmattlong thatmattlong changed the title fix: build imds compute url correctly fix: build imds compute url correctly and give a default retryAttempts Feb 7, 2024
@thatmattlong thatmattlong removed the request for review from ramiro-gamarra February 7, 2024 21:00
@thatmattlong thatmattlong added this pull request to the merge queue Feb 7, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Feb 8, 2024
@rbtr rbtr added this pull request to the merge queue Feb 8, 2024
Merged via the queue into master with commit f97eb96 Feb 8, 2024
15 checks passed
@rbtr rbtr deleted the matlong/fix-imds-client branch February 8, 2024 19:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cns Related to CNS. swift-v2
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants