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 2da581139c
commit 1b0f5c63b8
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",