(value: &serde_json::Value, key: &str)
| 687 | } |
| 688 | |
| 689 | fn json_bool(value: &serde_json::Value, key: &str) -> bool { |
| 690 | value |
| 691 | .get(key) |
| 692 | .and_then(serde_json::Value::as_bool) |
| 693 | .unwrap_or(false) |
| 694 | } |
| 695 | |
| 696 | /// Check network connectivity. |
| 697 | fn check_network(dc: &mut DoctorCounters) { |
no outgoing calls
no test coverage detected