refactor: parametrize default value

This commit is contained in:
2024-12-28 21:54:14 +01:00
parent 3f32dbb1a3
commit 03000c25e0
3 changed files with 14 additions and 5 deletions

View File

@ -238,7 +238,7 @@ Please note, "upgrade"/"rollback" do not support chaos operations.`,
log.Debug("skipping domain checks as requested")
}
deployedVersion := "N/A"
deployedVersion := config.NO_VERSION_DEFAULT
if deployMeta.IsDeployed {
deployedVersion = deployMeta.Version
}