Make podman ps fast

Like Ricky Bobby, we want to go fast.

Signed-off-by: baude <bbaude@redhat.com>
This commit is contained in:
baude
2018-10-10 12:22:35 -05:00
parent 5b2478ed87
commit ee8f19e7be
11 changed files with 429 additions and 256 deletions

View File

@ -666,14 +666,10 @@ func (c *Container) Batch(batchFunc func(*Container) error) error {
newCtr.valid = true
newCtr.batched = true
if err := batchFunc(newCtr); err != nil {
return err
}
err := batchFunc(newCtr)
newCtr.batched = false
return c.save()
return err
}
// Sync updates the current state of the container, checking whether its state