| #include <phosphor-logging/lg2.hpp> |
| exec::task<int> Manager::beforeDiscoverTerminus() |
| // Add any setup or checks needed before discovering a terminus |
| // If any setup/check fails, return the appropriate error code |
| // For now, we assume everything is successful |
| exec::task<int> Manager::afterDiscoverTerminus() |
| auto rc = co_await platformManager.initTerminus(); |
| lg2::error("Failed to initialize platform manager, error {RC}", "RC", |
| lg2::info("Successfully initialized platform manager"); |
| } // namespace platform_mc |