mirror of
https://github.com/getcompanion-ai/computer-host.git
synced 2026-04-15 05:02:05 +00:00
feat: firecracker mmds identity
This commit is contained in:
parent
500354cd9b
commit
3eb610b703
23 changed files with 1813 additions and 263 deletions
|
|
@ -56,6 +56,9 @@ func (d *Daemon) usedMachineRelayPorts(ctx context.Context, machineID contractho
|
|||
if record.ID == machineID {
|
||||
continue
|
||||
}
|
||||
if record.Phase != contracthost.MachinePhaseRunning {
|
||||
continue
|
||||
}
|
||||
if port := machineRelayHostPort(record, name); port != 0 {
|
||||
used[port] = struct{}{}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue