Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Merged
thaJeztah merged 1 commit into
moby:mastermoby/moby:masterfrom
thaJeztah:deprecate_info_expected_version_step2thaJeztah/docker:deprecate_info_expected_version_step2Copy head branch name to clipboard
Apr 10, 2025
Merged

api: info: omit deprecated "Commit.Expected" fields on API >= 1.49#48556
thaJeztah merged 1 commit into
moby:mastermoby/moby:masterfrom
thaJeztah:deprecate_info_expected_version_step2thaJeztah/docker:deprecate_info_expected_version_step2Copy head branch name to clipboard

Conversation

@thaJeztah

@thaJeztah thaJeztah commented Sep 27, 2024

Copy link
Copy Markdown
Member

- What I did

- How I did it

- How to verify it

- Description for the changelog

API: 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.

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

@thaJeztah
thaJeztah force-pushed the deprecate_info_expected_version_step2 branch from 38c5299 to 099619e Compare September 27, 2024 07:16
@thaJeztah
thaJeztah force-pushed the deprecate_info_expected_version_step2 branch from 099619e to 1cfb492 Compare September 30, 2024 17:06
Comment thread integration/system/info_linux_test.go Outdated
Comment on lines +32 to +34
// FIXME(theJeztah): this should be API 1.49
t.Run("1.47", func(t *testing.T) {
apiClient, err := client.NewClientWithOpts(client.FromEnv, client.WithVersion("1.47"))

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you mean "this should be API 1.48" here? (1.49 minus one)

@thaJeztah
thaJeztah force-pushed the deprecate_info_expected_version_step2 branch from 1cfb492 to 60092da Compare January 6, 2025 13:50
@thaJeztah
thaJeztah force-pushed the deprecate_info_expected_version_step2 branch from 60092da to cc309b9 Compare April 5, 2025 10:34
@thaJeztah thaJeztah added this to the 28.1.0 milestone Apr 5, 2025
@thaJeztah thaJeztah changed the title WIP: api: info: omit deprecated "Commit.Expected" fields on API >= 1.49 api: info: omit deprecated "Commit.Expected" fields on API >= 1.49 Apr 5, 2025
@thaJeztah
thaJeztah marked this pull request as ready for review April 5, 2025 10:36
@thaJeztah
thaJeztah force-pushed the deprecate_info_expected_version_step2 branch from cc309b9 to b8ad0a9 Compare April 7, 2025 17:13
These fields were deprecated in ff191c5,
and are now omitted.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@thaJeztah
thaJeztah force-pushed the deprecate_info_expected_version_step2 branch from b8ad0a9 to 564abf9 Compare April 8, 2025 13:16
@thaJeztah

Copy link
Copy Markdown
Member Author

OK, I think this one should be ready; @tianon @vvoland ptal

@thaJeztah
thaJeztah merged commit 3e99306 into moby:master Apr 10, 2025
@thaJeztah
thaJeztah deleted the deprecate_info_expected_version_step2 branch April 10, 2025 10:29
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.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.