Merge branch 'master' into 2.0

This commit is contained in:
Julien Duponchelle committed 2016-07-05 15:41:53 +02:00
commit ca4d09ea40
6 files changed
+39 -13

No files matched your search

+1 -1
View File
@@ -114,7 +114,7 @@ class Docker(BaseManager):
data=data,
headers={"content-type": "application/json", },
)
except aiohttp.ClientResponseError as e:
except (aiohttp.ClientResponseError, aiohttp.ClientOSError) as e:
raise DockerError("Docker has returned an error: {}".format(str(e)))
if response.status >= 300:
body = yield from response.read()