stages/dnf.config: fix schema for config.main
The properties for `main` were not properly defined and but also not really checked since `additionalProperties` was not defined.
This commit is contained in:
parent
57b320f04f
commit
c1c6ab6493
1 changed files with 8 additions and 4 deletions
|
|
@ -33,10 +33,14 @@ SCHEMA = r"""
|
|||
}
|
||||
},
|
||||
"config_main": {
|
||||
"ip_resolve": {
|
||||
"type": "string",
|
||||
"enum": ["4", "IPv4", "6", "IPv6"],
|
||||
"description": "Determines how DNF resolves host names."
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"ip_resolve": {
|
||||
"type": "string",
|
||||
"enum": ["4", "IPv4", "6", "IPv6"],
|
||||
"description": "Determines how DNF resolves host names."
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue