refactor: "false" -> CHAOS_DEFAULT

This commit is contained in:
2024-07-17 01:23:12 +02:00
parent 486cfa68d8
commit cf14731b46
6 changed files with 11 additions and 5 deletions

View File

@ -8,6 +8,7 @@ import (
appPkg "coopcloud.tech/abra/pkg/app"
"coopcloud.tech/abra/pkg/autocomplete"
"coopcloud.tech/abra/pkg/client"
"coopcloud.tech/abra/pkg/config"
"coopcloud.tech/abra/pkg/envfile"
"coopcloud.tech/abra/pkg/lint"
"coopcloud.tech/abra/pkg/log"
@ -244,7 +245,7 @@ EXAMPLE:
return nil
}
chaosVersion := "false"
chaosVersion := config.CHAOS_DEFAULT
if deployMeta.IsChaos {
chaosVersion = deployMeta.ChaosVersion
}