Fixing warning to correctly output error string.
Signed-off-by: Stefan J. Wernli <swernli@microsoft.com>
This commit is contained in:
parent
a22092b136
commit
3c220cfcba
|
@ -402,7 +402,7 @@ func restoreCustomImage(is image.Store, ls layer.Store, rs reference.Store) erro
|
||||||
|
|
||||||
id, err := is.Create(config)
|
id, err := is.Create(config)
|
||||||
if err != nil {
|
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)
|
logrus.Warnf("Skipping image %s...", name)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue