Skip to content

client: remove unused Client.HTTPClient() method#51011

Merged
thaJeztah merged 1 commit intomoby:masterfrom
thaJeztah:client_rm_httpclient
Sep 22, 2025
Merged

client: remove unused Client.HTTPClient() method#51011
thaJeztah merged 1 commit intomoby:masterfrom
thaJeztah:client_rm_httpclient

Conversation

@thaJeztah
Copy link
Member

@thaJeztah thaJeztah commented Sep 19, 2025

client: remove unused Client.HTTPClient() method

This method was introduced in moby@5a84124 related to the (now removed) support for "compose on kubernetes" in the CLI. This functionality extended the CLI with endpoints that are not part of the engine API, but re-using the HTTP-client with the same (TLS) config as the CLI itself.

While such scenarios may be something to consider in future (i.e. more easily extend the API with custom endpoints), this method is not currently used, but defined as part of the CLI's interface. This patch removes the method for now, so that we can design from a clean slate in case we need this extensibility, instead of keeping methods that were added ad-hoc around.

- What I did

- How I did it

- How to verify it

- Human readable description for the release notes

client: remove unused `Client.HTTPClient()` method

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

This method was introduced in [moby/moby@5a84124] related to the (now removed)
support for "compose on kubernetes" in the CLI. This functionality extended
the CLI with endpoints that are not part of the engine API, but re-using
the HTTP-client with the same (TLS) config as the CLI itself.

While such scenarios may be something to consider in future (i.e. more easily
extend the API with custom endpoints), this method is not currently used,
but defined as part of the CLI's interface. This patch removes the method
for now, so that we can design from a clean slate in case we need this
extensibility, instead of keeping methods that were added ad-hoc around.

[moby/moby@5a84124]: moby@5a84124

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@thaJeztah thaJeztah added this to the 29.0.0 milestone Sep 19, 2025
@thaJeztah thaJeztah marked this pull request as ready for review September 19, 2025 16:42
@thaJeztah thaJeztah merged commit 2613bb0 into moby:master Sep 22, 2025
198 of 199 checks passed
@thaJeztah thaJeztah deleted the client_rm_httpclient branch September 22, 2025 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants