Log the correct url in debug mode
Change-Id: I7bf01dc6ea60811c2235e61187a8f97458acc3ec Closes-Bug: #1448839
This commit is contained in:
parent
cb1f6f55d0
commit
e0c2ad4687
|
@ -101,7 +101,7 @@ class HTTPClient(object):
|
|||
if 'body' in kwargs:
|
||||
curl.append('-d \'%s\'' % kwargs['body'])
|
||||
|
||||
curl.append('%s%s' % (self.endpoint, url))
|
||||
curl.append('%s/%s' % (self.endpoint, url.lstrip(API_VERSION)))
|
||||
LOG.debug(' '.join(curl))
|
||||
|
||||
@staticmethod
|
||||
|
|
Loading…
Reference in New Issue