mirror of
https://github.com/docker/docs.git
synced 2026-11-05 00:14:17 +03:00
Fixing warning to correctly output error string.
Signed-off-by: Stefan J. Wernli <swernli@microsoft.com>
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