Code Review
/
yardstick.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Merge "Yardstick Plugin: add support for ssh login using key"
[yardstick.git]
/
yardstick
/
common
/
httpClient.py
diff --git
a/yardstick/common/httpClient.py
b/yardstick/common/httpClient.py
index
b6959b4
..
ab2e9a3
100644
(file)
--- a/
yardstick/common/httpClient.py
+++ b/
yardstick/common/httpClient.py
@@
-23,5
+23,8
@@
class HttpClient(object):
response = requests.post(url, data=data, headers=headers)
result = response.json()
logger.debug('The result is: %s', result)
+
+ return result
except Exception as e:
logger.debug('Failed: %s', e)
+ raise