(endpoint: &ServiceEndpoint)
| 749 | } |
| 750 | |
| 751 | fn endpoint_name(endpoint: &ServiceEndpoint) -> String { |
| 752 | endpoint.metadata.as_ref().map_or_else( |
| 753 | || endpoint_key(&endpoint.sandbox_name, &endpoint.service_name), |
| 754 | |metadata| metadata.name.clone(), |
| 755 | ) |
| 756 | } |
| 757 | |
| 758 | fn service_display_name(sandbox_name: &str, service_name: &str) -> String { |
| 759 | if service_name.is_empty() { |
no test coverage detected