memory values can be strings or numbers
Signed-off-by: Mazz Mosley <mazz@houseofmnowster.com>
This commit is contained in:
parent
711b0b4daf
commit
440099754d
2 changed files with 22 additions and 2 deletions
|
|
@ -68,8 +68,18 @@
|
|||
},
|
||||
|
||||
"mac_address": {"type": "string"},
|
||||
"mem_limit": {"type": "number"},
|
||||
"memswap_limit": {"type": "number"},
|
||||
"mem_limit": {
|
||||
"oneOf": [
|
||||
{"type": "number"},
|
||||
{"type": "string"}
|
||||
]
|
||||
},
|
||||
"memswap_limit": {
|
||||
"oneOf": [
|
||||
{"type": "number"},
|
||||
{"type": "string"}
|
||||
]
|
||||
},
|
||||
"name": {"type": "string"},
|
||||
"net": {"type": "string"},
|
||||
"pid": {"type": "string"},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue