Skip to content

Commit

Permalink
🐛 Do not display linked project twice
Browse files Browse the repository at this point in the history
  • Loading branch information
tiulpin committed Jul 2, 2024
1 parent 4d44f7a commit e0a9f6b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion platform/token.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,9 @@ func ValidateTokenPrintProject(token string) {
ErrorMessage(cloud.InvalidTokenMessage)
os.Exit(1)
} else {
SuccessMessage("Linked %s project: %s", cloud.GetCloudRootEndpoint().Host, projectName)
if !IsContainer() {
SuccessMessage("Linked %s project: %s", cloud.GetCloudRootEndpoint().Host, projectName)
}
}
}

Expand Down

0 comments on commit e0a9f6b

Please sign in to comment.