Skip to content

Commit

Permalink
Fixed error output
Browse files Browse the repository at this point in the history
  • Loading branch information
P3GLEG committed Oct 4, 2018
1 parent 6dea68f commit 150654a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ func analyze(cli *client.Client, imageID string) {
if err != nil {
color.Red(err.Error())
if strings.Contains(err.Error(),"Maximum supported API version is"){
color.Yellow("Use the -sV flag to change your client version. ./WhaleTail -sV=1.36 %s", imageID)
color.Yellow("Use the -sV flag to change your client version. ./whaler -sV=1.36 %s", imageID)
}
return
}
Expand Down Expand Up @@ -377,7 +377,7 @@ func main() {
imageID := repo
analyzeSingleImage(cli, imageID)
} else {
color.Red("Please provide a repository image to analyze. ./WhaleTail nginx:latest")
color.Red("Please provide a repository image to analyze. ./whaler nginx:latest")
return
}
cli.Close()
Expand Down

0 comments on commit 150654a

Please sign in to comment.