diff --git a/cli/internal/deploy.go b/cli/internal/deploy.go index 37aed079..4ea87bda 100644 --- a/cli/internal/deploy.go +++ b/cli/internal/deploy.go @@ -62,13 +62,13 @@ func NewVersionOverview( } rows := [][]string{ - []string{"APP", domain}, - []string{"RECIPE", app.Recipe.Name}, - []string{"SERVER", server}, - []string{"DEPLOYED", deployedVersion}, - []string{"CURRENT CHAOS ", deployedChaosVersion}, - []string{fmt.Sprintf("TO %s", strings.ToUpper(kind)), toDeployVersion}, - []string{"CONFIG", deployConfig}, + {"APP", domain}, + {"RECIPE", app.Recipe.Name}, + {"SERVER", server}, + {"DEPLOYED", deployedVersion}, + {"CURRENT CHAOS ", deployedChaosVersion}, + {fmt.Sprintf("TO %s", strings.ToUpper(kind)), toDeployVersion}, + {"CONFIG", deployConfig}, } overview := formatter.CreateOverview( @@ -132,14 +132,14 @@ func DeployOverview( } rows := [][]string{ - []string{"APP", domain}, - []string{"RECIPE", app.Recipe.Name}, - []string{"SERVER", server}, - []string{"DEPLOYED", deployedVersion}, - []string{"CURRENT CHAOS ", deployedChaosVersion}, - []string{"TO DEPLOY", toDeployVersion}, - []string{"NEW CHAOS", toDeployChaosVersion}, - []string{"CONFIG", deployConfig}, + {"APP", domain}, + {"RECIPE", app.Recipe.Name}, + {"SERVER", server}, + {"DEPLOYED", deployedVersion}, + {"CURRENT CHAOS ", deployedChaosVersion}, + {"TO DEPLOY", toDeployVersion}, + {"NEW CHAOS", toDeployChaosVersion}, + {"CONFIG", deployConfig}, } overview := formatter.CreateOverview("DEPLOY OVERVIEW", rows) @@ -188,12 +188,12 @@ func UndeployOverview( } rows := [][]string{ - []string{"APP", domain}, - []string{"RECIPE", app.Recipe.Name}, - []string{"SERVER", server}, - []string{"DEPLOYED", version}, - []string{"CHAOS", chaosVersion}, - []string{"CONFIG", deployConfig}, + {"APP", domain}, + {"RECIPE", app.Recipe.Name}, + {"SERVER", server}, + {"DEPLOYED", version}, + {"CHAOS", chaosVersion}, + {"CONFIG", deployConfig}, } overview := formatter.CreateOverview("UNDEPLOY OVERVIEW", rows)