Skip to content

Commit

Permalink
Improve log for pull error
Browse files Browse the repository at this point in the history
  • Loading branch information
jadolg committed Sep 9, 2022
1 parent 797d03b commit b99e0a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/DockerImageSave/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func pullImage(imageName string) bool {

for pullImage.Status != "Downloaded" {
if pullImage.Status == "Error" {
fmt.Println("\nCan not pull image")
fmt.Printf("\nCan not pull image: %s.\n", pullImage.Error)
return false
}
pullImage, err = PullImageRequest(imageName)
Expand Down

0 comments on commit b99e0a1

Please sign in to comment.