Constraint build argument types. Numbers are cast into strings
Numerical driver_opts are also valid and typecast into strings. Additional config tests. Signed-off-by: Joffrey F <joffrey@docker.com>
This commit is contained in:
parent
8d7b1e9047
commit
fcf78fe3de
5 changed files with 44 additions and 5 deletions
|
|
@ -78,7 +78,7 @@
|
|||
"driver_opts": {
|
||||
"type": "object",
|
||||
"patternProperties": {
|
||||
"^.+$": {"type": "string"}
|
||||
"^.+$": {"type": ["string", "number"]}
|
||||
}
|
||||
},
|
||||
"external": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue