mirror of
https://github.com/GNS3/gns3-server
synced 2024-12-25 16:28:11 +00:00
parent
c280fd5fb8
commit
5deb584a03
@ -49,8 +49,8 @@ class Docker(BaseManager):
|
||||
if not self._connected:
|
||||
try:
|
||||
self._connector = aiohttp.connector.UnixConnector(self._server_url)
|
||||
yield from self.query("GET", "info")
|
||||
self._connected = True
|
||||
yield from self.query("GET", "info")
|
||||
except (aiohttp.errors.ClientOSError, FileNotFoundError):
|
||||
self._connected = False
|
||||
raise DockerError("Can't connect to docker daemon")
|
||||
|
Loading…
Reference in New Issue
Block a user