This commit is contained in:
parent
e3b0500875
commit
a159583874
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user