ignore active-only tailscale peers in ip discovery

This commit is contained in:
Abel Luck 2026-02-27 16:20:51 +01:00
parent a7aabdff51
commit e8ee085649
2 changed files with 50 additions and 1 deletions

View file

@ -260,7 +260,7 @@ class EC2Runtime(RuntimeAdapter):
@staticmethod
def _peer_is_online(peer: dict[str, Any]) -> bool:
return bool(peer.get("Online") or peer.get("Active"))
return bool(peer.get("Online"))
@staticmethod
def _peer_hostname(peer: dict[str, Any]) -> str | None: