refactor: make IsChaos an actual bool

This commit is contained in:
2024-07-09 11:34:01 +02:00
parent 00d60f7114
commit b82ac3bd63
4 changed files with 18 additions and 13 deletions

View File

@ -99,8 +99,8 @@ Passing "-p/--prune" does not remove those volumes.`,
log.Fatalf("%s is not deployed?", app.Name)
}
chaosVersion := deployMeta.IsChaos
if deployMeta.IsChaos == "true" {
chaosVersion := "false"
if deployMeta.IsChaos {
chaosVersion = deployMeta.ChaosVersion
}