mirror of
https://github.com/esphome/esphome.git
synced 2025-02-15 17:38:15 +00:00
stale comment
This commit is contained in:
parent
c0251c2e68
commit
c488fe133c
@ -1001,8 +1001,6 @@ class MDNSStatus:
|
|||||||
async def async_resolve_host(self, host_name: str) -> str | None:
|
async def async_resolve_host(self, host_name: str) -> str | None:
|
||||||
"""Resolve a host name to an address in a thread-safe manner."""
|
"""Resolve a host name to an address in a thread-safe manner."""
|
||||||
if aiozc := self.aiozc:
|
if aiozc := self.aiozc:
|
||||||
# Currently we do not do any I/O and only
|
|
||||||
# return the cached result (timeout=0)
|
|
||||||
return await aiozc.async_resolve_host(host_name)
|
return await aiozc.async_resolve_host(host_name)
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user