Skip to content

Conversation

@siddsriv
Copy link
Contributor

@siddsriv siddsriv commented Dec 9, 2025

Issue

#7285

Description

Ensure port value can be set and respected for IMDS requests.

Testing

New unit tests:

 ✓ MetadataService Custom Ports > should use custom port from endpoint URL in request() 1ms
   ✓ MetadataService Custom Ports > should use custom port from endpoint URL in fetchMetadataToken() 0ms
   ✓ MetadataService Custom Ports > should use undefined port for standard HTTP endpoint 0ms
   ✓ MetadataService Custom Ports > should use custom HTTPS port from endpoint URL 0ms

 Test Files  1 passed (1)
      Tests  16 passed (16)

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@siddsriv siddsriv requested a review from a team as a code owner December 9, 2025 21:24
kuhe
kuhe previously approved these changes Dec 10, 2025
@siddsriv
Copy link
Contributor Author

Canonical PR (upstream) for this fix here: #7565. Closing this one.

@siddsriv siddsriv closed this Dec 10, 2025
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