1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-13 20:08:55 +00:00

Fix connection to websocket with last docker release

Fix https://github.com/GNS3/gns3-gui/issues/1994

Signed-off-by: Julien Duponchelle <julien@gns3.net>
This commit is contained in:
Bernhard Ehlers 2017-04-28 16:02:57 +02:00 committed by Julien Duponchelle
parent a6d085bf61
commit 56d91b648c
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

View File

@ -161,7 +161,7 @@ class Docker(BaseManager):
:returns: Websocket
"""
url = "http://docker/" + path
url = "http://docker/v" + DOCKER_MINIMUM_API_VERSION + "/" + path
connection = yield from aiohttp.ws_connect(url,
connector=self.connector(),
origin="http://docker",