(value: i64)
| 2660 | } |
| 2661 | |
| 2662 | fn validate_sandbox_pids_limit(value: i64) -> CoreResult<()> { |
| 2663 | if value < 0 { |
| 2664 | return Err(Error::config( |
| 2665 | "docker sandbox_pids_limit must be zero or greater", |
| 2666 | )); |
| 2667 | } |
| 2668 | Ok(()) |
| 2669 | } |
| 2670 | |
| 2671 | fn docker_pids_limit(value: i64) -> Result<Option<i64>, Status> { |
| 2672 | if value < 0 { |