not permanently cache invalid auth header
This commit is contained in:
parent
4325c7c68b
commit
f78ac3a399
2 changed files with 5 additions and 10 deletions
|
|
@ -267,11 +267,7 @@ class Triggerable(BasicObject):
|
|||
|
||||
class StreamingAPI(BasicObject):
|
||||
def __init__(self, url):
|
||||
self._ws_init(url)
|
||||
|
||||
def _ws_init(self, url):
|
||||
self.url = url
|
||||
|
||||
user_agent = 'python-dockercloud/%s' % dockercloud.__version__
|
||||
if dockercloud.user_agent:
|
||||
user_agent = "%s %s" % (dockercloud.user_agent, user_agent)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue