mirror of
https://codeberg.org/icewind/haze.git
synced 2026-06-03 17:14:08 +02:00
presets wip
This commit is contained in:
parent
029ff53aad
commit
fdcb8de4f2
17 changed files with 192 additions and 120 deletions
|
|
@ -58,7 +58,7 @@ impl ActiveInstances {
|
|||
_ => None,
|
||||
})
|
||||
.next()?;
|
||||
let ip = push.get_ip(&self.docker, &cloud.id).await.ok()?;
|
||||
let ip = push.get_ip(&self.docker, &cloud.id).await.ok()??;
|
||||
SocketAddr::new(ip, 7867)
|
||||
} else if let Some(name) = name.strip_suffix("-office") {
|
||||
let cloud = Cloud::get_by_filter(&self.docker, Some(name.into()), &self.config)
|
||||
|
|
@ -72,7 +72,7 @@ impl ActiveInstances {
|
|||
_ => None,
|
||||
})
|
||||
.next()?;
|
||||
let ip = office.get_ip(&self.docker, &cloud.id).await.ok()?;
|
||||
let ip = office.get_ip(&self.docker, &cloud.id).await.ok()??;
|
||||
SocketAddr::new(ip, 9980)
|
||||
} else {
|
||||
SocketAddr::new(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue