Log the correct url in debug mode

Change-Id: I7bf01dc6ea60811c2235e61187a8f97458acc3ec
Closes-Bug: #1448839
This commit is contained in:
Lan Qi song 2015-04-27 11:29:49 +08:00
parent cb1f6f55d0
commit e0c2ad4687
1 changed files with 1 additions and 1 deletions

View File

@ -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