Move Sandbox state into libkpod
Signed-off-by: Matthew Heon <mheon@redhat.com>
This commit is contained in:
parent
8fd089c570
commit
ece055327a
5 changed files with 78 additions and 44 deletions
|
@ -32,7 +32,7 @@ func (s *Server) ListPodSandbox(ctx context.Context, req *pb.ListPodSandboxReque
|
|||
logrus.Debugf("ListPodSandboxRequest %+v", req)
|
||||
var pods []*pb.PodSandbox
|
||||
var podList []*sandbox.Sandbox
|
||||
for _, sb := range s.state.sandboxes {
|
||||
for _, sb := range s.ContainerServer.ListSandboxes() {
|
||||
podList = append(podList, sb)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue