(&mut self, config: &LoadedConfig)
| 490 | } |
| 491 | |
| 492 | fn apply_config(&mut self, config: &LoadedConfig) { |
| 493 | if let Some(mode_configs) = &config.mode { |
| 494 | self.apply_agent_configs(mode_configs, Some(AgentMode::Primary)); |
| 495 | } |
| 496 | if let Some(agent_configs) = &config.agent { |
| 497 | self.apply_agent_configs(agent_configs, None); |
| 498 | } |
| 499 | } |
| 500 | |
| 501 | fn apply_agent_configs( |
| 502 | &mut self, |
no test coverage detected