(routeModel, upstreamModel string, pooled bool)
| 1168 | } |
| 1169 | |
| 1170 | func executionResultModel(routeModel, upstreamModel string, pooled bool) string { |
| 1171 | if pooled { |
| 1172 | if resolved := strings.TrimSpace(upstreamModel); resolved != "" { |
| 1173 | return resolved |
| 1174 | } |
| 1175 | } |
| 1176 | if requested := strings.TrimSpace(routeModel); requested != "" { |
| 1177 | return requested |
| 1178 | } |
| 1179 | return strings.TrimSpace(upstreamModel) |
| 1180 | } |
| 1181 | |
| 1182 | func (m *Manager) filterExecutionModels(auth *Auth, routeModel string, candidates []string, pooled bool) []string { |
| 1183 | if len(candidates) == 0 { |
no outgoing calls
no test coverage detected