Skip to content

socket: deprecate DialPipe#133

Merged
thaJeztah merged 1 commit intodocker:mainfrom
thaJeztah:deprecate_socket_dialpipe
Jul 1, 2025
Merged

socket: deprecate DialPipe#133
thaJeztah merged 1 commit intodocker:mainfrom
thaJeztah:deprecate_socket_dialpipe

Conversation

@thaJeztah
Copy link
Member

@thaJeztah thaJeztah commented May 30, 2025

This function was a wrapper for go-winio.DialPipe. Deprecate it in favor of using that package directly.

- Description for the changelog

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

This function was a wrapper for go-winio.DialPipe. Deprecate it in
favor of using that package directly.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
// This is not supported on other OSes.
func DialPipe(_ string, _ time.Duration) (net.Conn, error) {
func dialPipe(_ string, _ time.Duration) (net.Conn, error) {
return nil, syscall.EAFNOSUPPORT
Copy link
Member Author

Choose a reason for hiding this comment

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

We could probably change this to ErrProtocolNotAvailable 🤔

@thaJeztah thaJeztah marked this pull request as ready for review July 1, 2025 07:43
@thaJeztah thaJeztah requested review from robmry and vvoland July 1, 2025 07:44
@thaJeztah thaJeztah merged commit 80898b6 into docker:main Jul 1, 2025
13 checks passed
@thaJeztah thaJeztah deleted the deprecate_socket_dialpipe branch July 1, 2025 09:26
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