Remove uses of deprecated "Status", "ID", and "From" fields for events #46336
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
These fields were deprecated in Docker 1.10 through 72f1881 (#18888), but were still used in various places and in tests.
daemon/events: rewrite test-assertions with gotest.tools
one "//import" comment is needed per package.
daemon/events: verify non-deprecated fields
Some tests were testing the deprecated fields, instead of their non-deprecated
alternatives.
This patch adds a utility to verify that they match, and rewrites the tests
to check the non-deprecated fields instead.
client: TestEvents: don't depend on deprecated fields
integration/container: TestPause: don't depend on deprecated fields
daemon: TestHealthStates: don't depend on deprecated fields
integration-cli: TestEventsFormat: rewrite test to not use deprecated fields
- A picture of a cute animal (not mandatory but encouraged)