Fixing warning to correctly output error string.
Signed-off-by: Stefan J. Wernli <swernli@microsoft.com> Upstream-commit: 3c220cfcbad901c9366c209e83dc917ee4cf4f0c Component: engine
This commit is contained in:
@ -402,7 +402,7 @@ func restoreCustomImage(is image.Store, ls layer.Store, rs reference.Store) erro
|
||||
|
||||
id, err := is.Create(config)
|
||||
if err != nil {
|
||||
logrus.Warnf("Failed to restore custom image %s with error: %s.", name, err.Error)
|
||||
logrus.Warnf("Failed to restore custom image %s with error: %s.", name, err)
|
||||
logrus.Warnf("Skipping image %s...", name)
|
||||
continue
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user