Fix auth for websocket between controller and computes

Fix #660
This commit is contained in:
Julien Duponchelle committed 2016-08-31 15:19:53 +02:00
1 parent 45471fc865
commit 662c8788c2
1 file changed
+1 -1
+1 -1
View File
@@ -372,7 +372,7 @@ class Compute:
Connect to the notification stream
"""
try:
self._ws = yield from self._session().ws_connect(self._getUrl("/notifications/ws"))
self._ws = yield from self._session().ws_connect(self._getUrl("/notifications/ws"), auth=self._auth)
except aiohttp.errors.WSServerHandshakeError:
self._ws
while self._ws is not None: