Release URBM 2026.06.15.r009
This commit is contained in:
@@ -127,6 +127,9 @@ func ValidateJob(j Job) error {
|
||||
if j.Compression != "auto" && j.Compression != "off" && j.Compression != "max" {
|
||||
return errors.New("compression must be auto, off, or max")
|
||||
}
|
||||
if j.CPUCores < 0 || j.CPUCores > 256 {
|
||||
return errors.New("cpuCores must be between 0 and 256")
|
||||
}
|
||||
if j.Consistency.Mode != "live" && j.Consistency.Mode != "stop" {
|
||||
return errors.New("consistency mode must be live or stop")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user