mirror of
https://github.com/lxc/incus
synced 2026-08-02 05:26:46 +00:00
internal/instance: Fix validation of volatile.cpu.nodes
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
This commit is contained in:
parent
ce639bbea2
commit
646d537ce1
@ -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.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user