Skip to content

Commit

Permalink
fix: launch deployed message (#2305)
Browse files Browse the repository at this point in the history
* fix: launch deployed message

* fix: lint
  • Loading branch information
CristhianF7 authored Oct 21, 2024
1 parent 774bdbd commit c13919d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion internal/launch/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,11 @@ var consoleClusterName = "kubefirst-console"
// Up
func Up(additionalHelmFlags []string, inCluster, useTelemetry bool) {
if viper.GetBool("launch.deployed") {
progress.Error("Kubefirst console has already been deployed. To start over, run `kubefirst launch down` to completely remove the existing console.")
message := `##
Kubefirst console has already been deployed. To start over, run` + "`" + `kubefirst launch down` + "`" + `to completely remove the existing console.`

progress.Success(message)
return
}

if !inCluster {
Expand Down

0 comments on commit c13919d

Please sign in to comment.