소스 검색

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
 		}