Fixing warning to correctly output error string.
| ... | ... |
@@ -388,7 +388,7 @@ func restoreCustomImage(is image.Store, ls layer.Store, rs reference.Store) erro |
| 388 | 388 |
|
| 389 | 389 |
id, err := is.Create(config) |
| 390 | 390 |
if err != nil {
|
| 391 |
- logrus.Warnf("Failed to restore custom image %s with error: %s.", name, err.Error)
|
|
| 391 |
+ logrus.Warnf("Failed to restore custom image %s with error: %s.", name, err)
|
|
| 392 | 392 |
logrus.Warnf("Skipping image %s...", name)
|
| 393 | 393 |
continue |
| 394 | 394 |
} |