Skip to content
This repository was archived by the owner on Jan 20, 2020. It is now read-only.

Commit 3df41bf

Browse files
committed
fix the error
1 parent 6d5813e commit 3df41bf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dockercloud/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
from dockercloud.api.events import Events
2626
from dockercloud.api.nodeaz import AZ
2727

28-
__version__ = '1.0.11'
28+
__version__ = '1.0.12'
2929

3030
dockercloud_auth = os.environ.get('DOCKERCLOUD_AUTH')
3131
basic_auth = auth.load_from_file("~/.docker/config.json")

dockercloud/api/base.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ def __init__(self, subsystem, resource, uuid, tail, follow, namespace=""):
330330
namespace = dockercloud.namespace
331331
if namespace:
332332
url = "/".join([dockercloud.stream_host.rstrip("/"), "api", subsystem, self._api_version,
333-
self._namespace, endpoint.lstrip("/")])
333+
namespace, endpoint.lstrip("/")])
334334
else:
335335
url = "/".join([dockercloud.stream_host.rstrip("/"), "api", subsystem, self._api_version,
336336
endpoint.lstrip("/")])

0 commit comments

Comments
 (0)