Stages/tuned: require profile to be non-empty string

The stage schema previously accepted an empty string as a profile name.
This would not work in practice, therefore extend the schema to require
non-empty strings.

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
This commit is contained in:
Tomáš Hozza 2024-12-20 11:57:50 +01:00 committed by Brian C. Lane
parent d7d41b477b
commit 350ae9ed40

View file

@ -19,7 +19,8 @@
"description": "TuneD profile to activate. If multiple profiles are provided, TuneD will try to merge them.",
"minItems": 1,
"items": {
"type": "string"
"type": "string",
"minLength": 1
}
}
}