mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-11-11 12:00:57 +00:00
Use hosts as list (#1228)
* Use hosts as list * Fix * Clean style * Fix list remove * hide warning
This commit is contained in:
@@ -477,5 +477,5 @@ class DockerAddon(DockerInterface):
|
||||
Need run inside executor.
|
||||
"""
|
||||
if self.ip_address != NO_ADDDRESS:
|
||||
self.sys_dns.delete_host(ipv4=self.ip_address)
|
||||
self.sys_dns.delete_host(self.addon.hostname)
|
||||
super()._stop(remove_container)
|
||||
|
||||
Reference in New Issue
Block a user