Commit c668b01
committed
config-linux: allow empty strings in memory policy nodes field
When runtime-tools validator checks mandatory fields, it expects every
string field either to be tagged "omitempty" or contain a non-empty
string. Linux memory policy modes MPOL_DEFAULT and MPOL_LOCAL must
have empty nodes field. This change adds "omitempty" tag to
LinuxMemoryPolicy.Nodes in order to pass runtime-tools validation in
these modes.
Signed-off-by: Antti Kervinen <[email protected]>1 parent fd25dd3 commit c668b01
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
899 | 899 | | |
900 | 900 | | |
901 | 901 | | |
902 | | - | |
| 902 | + | |
903 | 903 | | |
904 | 904 | | |
905 | 905 | | |
| |||
0 commit comments