mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #21894 from Microsoft/sjw/nanoserver-fix
Fixing warning to correctly output error string.
This commit is contained in:
commit
f62b26571a
1 changed files with 1 additions and 1 deletions
|
@ -388,7 +388,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
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue