Matt Spinler | ebf6989 | 2024-05-17 14:56:16 -0500 | [diff] [blame^] | 1 | #include "manager.hpp" |
| 2 | |
| 3 | #include <sdbusplus/async.hpp> |
| 4 | |
| 5 | int main() |
| 6 | { |
| 7 | sdbusplus::async::context ctx; |
| 8 | sdbusplus::server::manager_t objMgr{ |
| 9 | ctx, bmc::redundancy::RedundancyInterface::instance_path}; |
| 10 | |
| 11 | bmc::redundancy::Manager manager{ctx}; |
| 12 | |
| 13 | ctx.spawn([](sdbusplus::async::context& ctx) -> sdbusplus::async::task<> { |
| 14 | ctx.request_name(bmc::redundancy::RedundancyInterface::default_service); |
| 15 | co_return; |
| 16 | }(ctx)); |
| 17 | |
| 18 | ctx.run(); |
| 19 | |
| 20 | return 0; |
| 21 | } |