fix: show no images if no diff required
This commit is contained in:
@ -83,8 +83,14 @@ func DeployOverview(
|
||||
{i18n.G("CURRENT DEPLOYMENT"), formatter.BoldDirtyDefault(deployedVersion)},
|
||||
{i18n.G("ENV VERSION"), formatter.BoldDirtyDefault(envVersion)},
|
||||
{i18n.G("NEW DEPLOYMENT"), formatter.BoldDirtyDefault(toDeployVersion)},
|
||||
{"", ""},
|
||||
{i18n.G("IMAGES"), strings.Join(images, "\n")},
|
||||
}
|
||||
|
||||
if len(images) > 0 {
|
||||
imageRows := [][]string{
|
||||
{"", ""},
|
||||
{i18n.G("IMAGES"), strings.Join(images, "\n")},
|
||||
}
|
||||
rows = append(rows, imageRows...)
|
||||
}
|
||||
|
||||
if len(secrets) > 0 {
|
||||
|
Reference in New Issue
Block a user