docs: <> -> []
This commit is contained in:
parent
ef95bce1e4
commit
cd6af9708c
@ -103,7 +103,7 @@ Please note, "upgrade"/"rollback" do not support chaos operations.`,
|
|||||||
log.Fatal(err)
|
log.Fatal(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
// NOTE(d1): handles "<version> as git hash" use case
|
// NOTE(d1): handles "[version] as git hash" use case
|
||||||
var isChaosCommit bool
|
var isChaosCommit bool
|
||||||
|
|
||||||
// NOTE(d1): check out specific version before dealing with secrets. This
|
// 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
|
// validateChaosXORVersion xor checks version/chaos mode
|
||||||
func validateChaosXORVersion(args []string) (bool, error) {
|
func validateChaosXORVersion(args []string) (bool, error) {
|
||||||
if getSpecifiedVersion(args) != "" && internal.Chaos {
|
if getSpecifiedVersion(args) != "" && internal.Chaos {
|
||||||
return false, errors.New("cannot use <version> and --chaos together")
|
return false, errors.New("cannot use [version] and --chaos together")
|
||||||
}
|
}
|
||||||
return true, nil
|
return true, nil
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user