Skip to content

Commit

Permalink
Merge pull request #1394 from stgraber/main
Browse files Browse the repository at this point in the history
internal/instance: Fix validation of volatile.cpu.nodes
  • Loading branch information
hallyn authored Nov 19, 2024
2 parents 912dd77 + 646d537 commit c7dd60d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/instance/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ var InstanceConfigKeysAny = map[string]func(value string) error{
// ---
// type: string
// shortdesc: Instance NUMA node
"volatile.cpu.nodes": validate.Optional(validate.IsValidCPUSet),
"volatile.cpu.nodes": validate.Optional(validate.Or(validate.IsValidCPUSet, validate.IsOneOf("0", "balanced"))),

// gendoc:generate(entity=instance, group=volatile, key=volatile.evacuate.origin)
// The cluster member that the instance lived on before evacuation.
Expand Down

0 comments on commit c7dd60d

Please sign in to comment.