1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-12-23 23:38:21 +00:00

Fix unexpected keyword argument 'conn_timeout'

Fix #1047
This commit is contained in:
Julien Duponchelle 2017-05-26 15:42:46 +02:00
parent 82f1ab2be2
commit b8ee8d69c8
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

View File

@ -67,7 +67,7 @@ class Docker(BaseManager):
if not sys.platform.startswith("linux"):
raise DockerError("Docker is supported only on Linux")
try:
self._connector = aiohttp.connector.UnixConnector(self._server_url, conn_timeout=2, limit=None)
self._connector = aiohttp.connector.UnixConnector(self._server_url, limit=None)
except (aiohttp.ClientOSError, FileNotFoundError):
raise DockerError("Can't connect to docker daemon")
return self._connector