api: info: omit deprecated "Commit.Expected" fields on API >= 1.49

These fields were deprecated in ff191c58f7,
and are now omitted.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn
2024-09-27 09:11:16 +02:00
parent ba12b2d0bc
commit 564abf9157
5 changed files with 42 additions and 22 deletions

View File

@@ -26,6 +26,9 @@ keywords: "API, Docker, rcli, REST, documentation"
* Deprecated: The `AllowNondistributableArtifactsCIDRs` and `AllowNondistributableArtifactsHostnames`
fields in the `RegistryConfig` struct in the `GET /info` response are omitted
in API v1.49.
* Deprecated: The `ContainerdCommit.Expected`, `RuncCommit.Expected`, and
`InitCommit.Expected` fields in the `GET /info` endpoint were deprecated
in API v1.48, and are now omitted in API v1.49.
## v1.48 API changes