Files
systemd/test
Frantisek Sumsal 0a3a2ecd69 shared: don't exclude valid min/max values for cgroup weight fields
1 and 10000 are valid cgroup weight values, but the condition was
incorrectly excluding them:

$ echo '{"userName":"crashhostarray","cpuWeight":1}' | userdbctl -F -
<stdin>:1:42: JSON field 'cpuWeight' is not in valid range 1…10000.

$ echo '{"userName":"crashhostarray","cpuWeight":10000}' | userdbctl -F -
<stdin>:1:42: JSON field 'cpuWeight' is not in valid range 1…10000.

(cherry picked from commit 76ab7861ff)
2026-03-12 09:40:48 +01:00
..
2026-02-26 10:24:31 +00:00
2025-08-20 16:17:11 +09:00
2026-02-26 10:24:31 +00:00
2026-02-26 10:24:31 +00:00
2025-12-07 09:09:03 +09:00