| 127 | } |
| 128 | |
| 129 | State getState(const std::string& id) { |
| 130 | auto service_instance = findServiceInstanceById(id); |
| 131 | if (service_instance == nullptr) { |
| 132 | return State::Stopped; |
| 133 | } |
| 134 | return service_instance->getState(); |
| 135 | } |
| 136 | |
| 137 | } // namespace |
no test coverage detected