(sandbox: &Sandbox)
| 3989 | } |
| 3990 | |
| 3991 | fn requested_sandbox_image(sandbox: &Sandbox) -> Option<&str> { |
| 3992 | sandbox |
| 3993 | .spec |
| 3994 | .as_ref() |
| 3995 | .and_then(|spec| spec.template.as_ref()) |
| 3996 | .map(|template| template.image.trim()) |
| 3997 | .filter(|image| !image.is_empty()) |
| 3998 | } |
| 3999 | |
| 4000 | fn merged_environment(sandbox: &Sandbox) -> HashMap<String, String> { |
| 4001 | let mut environment = sandbox |
no test coverage detected