Skip to content

Commit

Permalink
Update internal/images/images.go
Browse files Browse the repository at this point in the history
Co-authored-by: Graham Hammond <[email protected]>
  • Loading branch information
hamars01 and madchutney authored Nov 27, 2024
1 parent 70c4370 commit e3dcb22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/images/images.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func GetFriendlyErrorMessage(err error, pods []string) string {
errorMessage := err.Error()
switch {
case containsAnyOf(errorMessage, []string{"authentication", "auth", "authorized"}):
return " Authentication error. A private image could not be checked, check the docker credentials are present and up to date."
return " Authentication Error. The private image could not be queried, please check the docker credentials are present and correct."
case containsAnyOf(errorMessage, []string{"no image found", "image not found"}):
return " Image not found. Some pods like `" + pods[0] + "` are using an image that no longer exists."
case containsAnyOf(errorMessage, []string{"no such host"}):
Expand Down

0 comments on commit e3dcb22

Please sign in to comment.