fix listCoontainerStats not filter#1202
Merged
k8s-ci-robot merged 1 commit intokubernetes-sigs:masterfrom Jul 3, 2023
Merged
Conversation
Contributor
Author
|
/assign feiskyer |
Signed-off-by: lengrongfu <[email protected]>
0c4f301 to
e643810
Compare
Contributor
Author
|
/assign saschagrunert |
Contributor
Author
|
/unassign feiskyer |
saschagrunert
approved these changes
Jul 3, 2023
Member
|
Thank you for the fix @lengrongfu! 🙏 |
Contributor
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: lengrongfu, saschagrunert The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
This was referenced Jul 3, 2023
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What type of PR is this?
/kind bug
What this PR does / why we need it:
this test can not run containerd ci integration test.
Which issue(s) this PR fixes:
Fixes # #1201
Special notes for your reviewer:
Because the filter does not set containerd, not found will appear in the case of concurrency. When no filter is specified, containerd will obtain all the container metadata, and then obtain the container status through the metadata. The container id may still exist when obtaining all the metadata, but it will not exist when obtaining the container status. There will be a situation of not found.
For example, in the following steps create and start container is
9246d016f4e3ad776c2e89064278c03010caa3514d8851084bfbc7dbfd8d9cc9, but last not found container ise99aac75d556494eb78eb3c49157a1680972a29e5a095888857b186134713891.It is because container
e99aac75d556494eb78eb3c49157a1680972a29e5a095888857b186134713891was deleted in the process of creat9246d016f4e3ad776c2e89064278c03010caa3514d8851084bfbc7dbfd8d9cc9.Does this PR introduce a user-facing change?