Specifying a filter with no filtering expressions is now idempotent
Signed-off-by: Yann Ramin <atrus@stackworks.net>
This commit is contained in:
parent
14c1c70407
commit
50c94a9335
2 changed files with 5 additions and 3 deletions
|
@ -28,7 +28,7 @@ func (s *Server) ListContainerStats(ctx context.Context, req *pb.ListContainerSt
|
|||
PodSandboxId: req.Filter.PodSandboxId,
|
||||
LabelSelector: req.Filter.LabelSelector,
|
||||
}
|
||||
ctrList, err = s.filterContainerList(cFilter)
|
||||
ctrList, err = s.filterContainerList(cFilter, ctrList)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue