From cd6af9708cb348ec625ec3baf931d3d5cbc2a2d5 Mon Sep 17 00:00:00 2001 From: decentral1se Date: Tue, 31 Dec 2024 08:26:01 +0100 Subject: [PATCH] docs: <> -> [] --- cli/app/deploy.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 }