api/types/system: remove deprecated Commit.Expected field by thaJeztah · Pull Request #51127 · moby/moby (original) (raw)
This field was deprecated API v1.48 in [moby/moby@ff191c5], and removed in API v1.49 in [moby/moby@564abf9].
This patch:
- Removes the field from the API Go types.
- Reimplements the
/infoendpoint with thecompatpackage to replace the localinfoResponseimplementation. - Removes the
ServiceConfig.ExtraFieldsfield in api/types/registry introduced in [moby/moby@7d9c50d] to backfill theAllowNondistributableArtifactsCIDRsandAllowNondistributableArtifactsHostnamesfields for API < v1.47.
We should also consider deprecating the ContainerdCommit, RuncCommit
and InitCommit fields on the /info response (as we also include this
information as part of the components returned in /version), but those
can still be useful currently for situations where a user only provides
docker info output.
[moby/moby@ff191c5]: moby@ff191c5 [moby/moby@564abf9]: moby@564abf9 [moby/moby@7d9c50d]: moby@7d9c50d
Signed-off-by: Sebastiaan van Stijn github@gone.nl
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
[ Show hidden characters]({{ revealButtonHref }})