warn when cannot update container status on server init

Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
Antonio Murdaca 2016-09-18 18:37:29 +02:00
parent 260a7adb83
commit 53e76cc752
No known key found for this signature in database
GPG key ID: B2BEAD150DE936B9

View file

@ -63,7 +63,7 @@ func (s *Server) loadSandboxes() error {
}
s.addContainer(scontainer)
if err = s.runtime.UpdateStatus(scontainer); err != nil {
return err
logrus.Warnf("error updating status for container %s: %v", scontainer, err)
}
return nil
}); err != nil {