Add timeout for container/sandbox recover and event monitor.

Signed-off-by: Lantao Liu <lantaol@google.com>
This commit is contained in:
Lantao Liu
2018-08-23 21:34:59 -07:00
parent 6de38f1f3a
commit 963a01735b
3 changed files with 32 additions and 6 deletions

View File

@@ -27,7 +27,7 @@ func NewFakeStore(images []Image) (*Store, error) {
s.refCache[ref] = i.ID
}
if err := s.store.add(i); err != nil {
return nil, errors.Wrapf(err, "add image %q", i)
return nil, errors.Wrapf(err, "add image %+v", i)
}
}
return s, nil