Skip to content

Commit

Permalink
Merge pull request #1206 from giuseppe/fix-definition-io-priority
Browse files Browse the repository at this point in the history
schema: fix definition for ioPriority
  • Loading branch information
utam0k authored May 22, 2023
2 parents 9447d3c + d46c8b2 commit 55ae274
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions schema/config-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -145,13 +145,23 @@
"type": "string"
},
"ioPriority": {
"class": "string",
"enum": [
"IOPRIO_CLASS_RT",
"IOPRIO_CLASS_BE",
"IOPRIO_CLASS_IDLE"
"type": "object",
"required": [
"class"
],
"priority": "integer"
"properties": {
"class": {
"type": "string",
"enum": [
"IOPRIO_CLASS_RT",
"IOPRIO_CLASS_BE",
"IOPRIO_CLASS_IDLE"
]
},
"priority": {
"$ref": "defs.json#/definitions/int32"
}
}
},
"noNewPrivileges": {
"type": "boolean"
Expand Down

0 comments on commit 55ae274

Please sign in to comment.