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

chore: remove deprecated DualStack field #5018

Merged
merged 1 commit into from
May 16, 2024

Conversation

njucjc
Copy link
Contributor

@njucjc njucjc commented Apr 15, 2024

- What I did
I went through this deprecated field of net.Dial, which is DualStack.
As described in the documentation of the net package:

// DualStack previously enabled RFC 6555 Fast Fallback
// support, also known as "Happy Eyeballs", in which IPv4 is
// tried soon if IPv6 appears to be misconfigured and
// hanging.
//
// Deprecated: Fast Fallback is enabled by default. To
// disable, set FallbackDelay to a negative value.
DualStack bool

I think we don't need it anymore.

- How I did it

- How to verify it

- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

Signed-off-by: njucjc <njucjc@gmail.com>
@thaJeztah thaJeztah added status/2-code-review kind/refactor PR's that refactor, or clean-up code labels Apr 18, 2024
Copy link
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

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

LGTM

@njucjc
Copy link
Contributor Author

njucjc commented May 16, 2024

LGTM

@thaJeztah Ready to to merge, any other suggestions?

@thaJeztah thaJeztah added this to the 27.0.0 milestone May 16, 2024
@thaJeztah
Copy link
Member

nope; I think this one should be good to go 😅

@thaJeztah thaJeztah merged commit ad3bcf8 into docker:master May 16, 2024
88 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/refactor PR's that refactor, or clean-up code status/2-code-review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants