forked from herocode/horus
fix coordinator compilation
This commit is contained in:
@@ -103,10 +103,10 @@ async fn main() {
|
||||
{
|
||||
let base_url = format!("http://{}:{}", cli.mycelium_ip, cli.mycelium_port);
|
||||
let mycelium = Arc::new(
|
||||
hero_coordinator::clients::MyceliumClient::new(&base_url)
|
||||
hero_supervisor_openrpc_client::transports::MyceliumClient::new(&base_url)
|
||||
.expect("Failed to create MyceliumClient")
|
||||
);
|
||||
let hub = hero_coordinator::clients::SupervisorHub::new_with_client(
|
||||
let hub = hero_supervisor_openrpc_client::transports::SupervisorHub::new_with_client(
|
||||
mycelium,
|
||||
"supervisor.rpc".to_string(),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user