fix: show chaos version on undeploy
This commit is contained in:
@ -65,9 +65,14 @@ Passing "--prune/-p" does not remove those volumes.`),
|
|||||||
log.Fatal(i18n.G("%s is not deployed?", app.Name))
|
log.Fatal(i18n.G("%s is not deployed?", app.Name))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
version := deployMeta.Version
|
||||||
|
if deployMeta.IsChaos {
|
||||||
|
version = deployMeta.ChaosVersion
|
||||||
|
}
|
||||||
|
|
||||||
if err := internal.DeployOverview(
|
if err := internal.DeployOverview(
|
||||||
app,
|
app,
|
||||||
deployMeta.Version,
|
version,
|
||||||
config.NO_DOMAIN_DEFAULT,
|
config.NO_DOMAIN_DEFAULT,
|
||||||
"",
|
"",
|
||||||
nil,
|
nil,
|
||||||
|
Reference in New Issue
Block a user