Skip to content

[28.x backport] cli/command/system: don't use deprecated fields in tests#6379

Merged
austinvazquez merged 2 commits into
docker:28.xfrom
thaJeztah:28.x_backport_test_fixes
Aug 27, 2025
Merged

[28.x backport] cli/command/system: don't use deprecated fields in tests#6379
austinvazquez merged 2 commits into
docker:28.xfrom
thaJeztah:28.x_backport_test_fixes

Conversation

@thaJeztah
Copy link
Copy Markdown
Member

These were just testing JSON marshaling fields that are deprecated, but
may be present in a response; these fields will be removed in future
API versions, so stop testing for them.

Signed-off-by: Sebastiaan van Stijn <[email protected]>
(cherry picked from commit 823c6a7)
Signed-off-by: Sebastiaan van Stijn <[email protected]>
This only impacts the JSON marshaled output; the "regular" output
of `docker info` already ignores these fields.

Signed-off-by: Sebastiaan van Stijn <[email protected]>
(cherry picked from commit 3d87aa4)
Signed-off-by: Sebastiaan van Stijn <[email protected]>
@codecov-commenter
Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@austinvazquez austinvazquez merged commit b90c5a8 into docker:28.x Aug 27, 2025
107 of 110 checks passed
@thaJeztah thaJeztah deleted the 28.x_backport_test_fixes branch August 27, 2025 23:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment