Fix regression in docker introduce by 2.0 merge

This commit is contained in:
Julien Duponchelle 2017-07-12 17:59:29 +02:00
parent cf3b668cf1
commit f557ec4bda
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

View File

@ -177,9 +177,9 @@ class Docker(BaseManager):
"""
url = "http://docker/v" + self._api_version + "/" + path
connection = yield from aiohttp.ws_connect(url,
origin="http://docker",
autoping=True)
connection = yield from self._session.ws_connect(url,
origin="http://docker",
autoping=True)
return connection
@locked_coroutine