Skip to content

Conversation

thaJeztah
Copy link
Member

The execution-driver was replaced with containerd since docker 1.11 (API v1.23) in 9c4570a, after which the value was no longer set. The field was left in the type definition. Commit 1fb1136 removed its use from the CLI and docker/engine-api@39c7d7e removed it from the API type, followed by an update to the API docs in 3c6ef4c.

Changes to the API types were not pulled into the engine until v1.13, and probably because of that gated it on API version < 1.25 instead of < 1.24 (see 6d98e34); setting a "not supported" value for older versions.

Based on the above; this field was deprecated in API v1.23, and empty since then. Given that the minimum API version supported by the engine is not v1.24, we can safely remove it.

- Description for the changelog

api/types/system: remove deprecated Info.ExecutionDriver

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

The execution-driver was replaced with containerd since docker 1.11 (API
v1.23) in 9c4570a, after which the value
was no longer set. The field was left in the type definition.
Commit 1fb1136 removed its use from the
CLI and [docker-archive-public/docker.engine-api@39c7d7e] removed it from the API type, followed
by an update to the API docs in 3c6ef4c.

Changes to the API types were not pulled into the engine until v1.13, and
probably because of that gated it on API version < 1.25 instead of < 1.24
(see 6d98e34); setting a "not supported"
value for older versions.

Based on the above; this field was deprecated in API v1.23, and empty
since then. Given that the minimum API version supported by the engine
is not v1.24, we can safely remove it.

[docker-archive-public/docker.engine-api@39c7d7e]: docker-archive-public/docker.engine-api@39c7d7e

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@thaJeztah thaJeztah added area/api API status/2-code-review kind/refactor PR's that refactor, or clean-up code area/go-sdk impact/go-sdk Noteworthy (compatibility changes) in the Go SDK labels Jul 1, 2024
@thaJeztah thaJeztah added this to the 28.0.0 milestone Jul 1, 2024
@thaJeztah thaJeztah self-assigned this Jul 1, 2024
@AkihiroSuda AkihiroSuda merged commit a045f9e into moby:master Jul 2, 2024
@thaJeztah thaJeztah deleted the rm_deprecated_executiondriver branch July 2, 2024 07:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/api API area/go-sdk impact/go-sdk Noteworthy (compatibility changes) in the Go SDK kind/refactor PR's that refactor, or clean-up code process/cherry-picked status/2-code-review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants