mirror of
https://codeberg.org/icewind/haze.git
synced 2026-06-03 17:14:08 +02:00
sharding option
This commit is contained in:
parent
e13f53e0e5
commit
ce0d3ff3e4
19 changed files with 248 additions and 121 deletions
|
|
@ -53,8 +53,7 @@ impl ActiveInstances {
|
|||
.await
|
||||
.ok()?;
|
||||
let service = cloud
|
||||
.services
|
||||
.iter()
|
||||
.services()
|
||||
.find(|service| service.name() == service_name)?;
|
||||
let ip = service.get_ip(&self.docker, &cloud.id).await.ok()??;
|
||||
SocketAddr::new(ip, service.proxy_port())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue