libnetwork: log why osl sandbox restore failed
Signed-off-by: Cory Snider <csnider@mirantis.com>
(cherry picked from commit 18bf3aa442
)
Signed-off-by: Cory Snider <csnider@mirantis.com>
This commit is contained in:
parent
143a25144a
commit
fec801a103
1 changed files with 1 additions and 1 deletions
|
@ -260,7 +260,7 @@ func (c *Controller) sandboxCleanup(activeSandboxes map[string]interface{}) {
|
|||
// reconstruct osl sandbox field
|
||||
if !sb.config.useDefaultSandBox {
|
||||
if err := sb.restoreOslSandbox(); err != nil {
|
||||
logrus.Errorf("failed to populate fields for osl sandbox %s", sb.ID())
|
||||
logrus.Errorf("failed to populate fields for osl sandbox %s: %v", sb.ID(), err)
|
||||
continue
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue