diff --git a/cli/app/deploy.go b/cli/app/deploy.go index 6a8738fe..22aa7e5a 100644 --- a/cli/app/deploy.go +++ b/cli/app/deploy.go @@ -103,7 +103,7 @@ Please note, "upgrade"/"rollback" do not support chaos operations.`, log.Fatal(err) } - // NOTE(d1): handles " as git hash" use case + // NOTE(d1): handles "[version] as git hash" use case var isChaosCommit bool // NOTE(d1): check out specific version before dealing with secrets. This @@ -285,7 +285,7 @@ Please note, "upgrade"/"rollback" do not support chaos operations.`, // validateChaosXORVersion xor checks version/chaos mode func validateChaosXORVersion(args []string) (bool, error) { if getSpecifiedVersion(args) != "" && internal.Chaos { - return false, errors.New("cannot use and --chaos together") + return false, errors.New("cannot use [version] and --chaos together") } return true, nil }