浏览代码

Fixing warning to correctly output error string.

Signed-off-by: Stefan J. Wernli <swernli@microsoft.com>
Stefan J. Wernli 9 年之前
父节点
当前提交
3c220cfcba
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      daemon/daemon_windows.go

+ 1 - 1
daemon/daemon_windows.go

@@ -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
 		}