chore: make format
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
decentral1se 2024-12-30 18:07:58 +01:00
parent e3b0500875
commit a159583874
Signed by: decentral1se
GPG Key ID: 03789458B3D0C410

View File

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