Skip to content

[27.0 backport] api/types: deprecate ContainerJSONBase.Node, ContainerNode#48060

Merged
vvoland merged 1 commit intomoby:27.0from
thaJeztah:27.0_backport_api_deprecate_ContainerJSONBase_Node
Jun 26, 2024
Merged

[27.0 backport] api/types: deprecate ContainerJSONBase.Node, ContainerNode#48060
vvoland merged 1 commit intomoby:27.0from
thaJeztah:27.0_backport_api_deprecate_ContainerJSONBase_Node

Conversation

@thaJeztah
Copy link
Copy Markdown
Member

The Node field and related ContainerNode type were used by the classic (standalone) Swarm API. API documentation for this field was already removed in 234d5a7 (API 1.41 / docker 20.10), and as the Docker Engine didn't implement these fields for the Swarm API, it would always have been unset / nil.

Let's do a quick deprecation, and remove it on the next release.

- Description for the changelog

api/types: deprecate `ContainerJSONBase.Node` field and `ContainerNode` type. These definitions were used by the standalone ("classic") Swarm API, but never implemented in the Docker Engine itself.

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

The `Node` field and related `ContainerNode` type were used by the classic
(standalone) Swarm API. API documentation for this field was already removed
in 234d5a7 (API 1.41 / docker 20.10), and
as the Docker Engine didn't implement these fields for the Swarm API, it
would always have been unset / nil.

Let's do a quick deprecation, and remove it on the next release.

Signed-off-by: Sebastiaan van Stijn <[email protected]>
(cherry picked from commit 1fc9236)
Signed-off-by: Sebastiaan van Stijn <[email protected]>
@thaJeztah thaJeztah added this to the 27.0.2 milestone Jun 26, 2024
@thaJeztah thaJeztah self-assigned this Jun 26, 2024
@vvoland vvoland modified the milestones: 27.0.2, 27.0.3 Jun 26, 2024
@thaJeztah thaJeztah marked this pull request as ready for review June 26, 2024 17:52
@vvoland vvoland merged commit e953d76 into moby:27.0 Jun 26, 2024
@thaJeztah thaJeztah deleted the 27.0_backport_api_deprecate_ContainerJSONBase_Node branch June 26, 2024 18:44
@thaJeztah thaJeztah modified the milestones: 27.0.3, 27.0.2 Jul 1, 2024
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