| 23 | } |
| 24 | |
| 25 | void disable() { |
| 26 | auto service = findService(); |
| 27 | if (service != nullptr) { |
| 28 | service->disable(); |
| 29 | } else { |
| 30 | LOGGER.error("Service not found"); |
| 31 | } |
| 32 | } |
| 33 | |
| 34 | bool isEnabled() { |
| 35 | auto service = findService(); |
no test coverage detected