aboutsummaryrefslogtreecommitdiffstats
path: root/onap-client/onap_client/lib.py
diff options
context:
space:
mode:
Diffstat (limited to 'onap-client/onap_client/lib.py')
-rw-r--r--onap-client/onap_client/lib.py18
1 files changed, 9 insertions, 9 deletions
diff --git a/onap-client/onap_client/lib.py b/onap-client/onap_client/lib.py
index c87c4df..40024ce 100644
--- a/onap-client/onap_client/lib.py
+++ b/onap-client/onap_client/lib.py
@@ -58,17 +58,17 @@ def make_request(catalog_item, verify_request, **kwargs):
request_handler = RequestHandler(catalog_request)
- response_handler = request_handler.make_request(verify_request)
+ return request_handler.make_request(verify_request)
- if not response_handler.success:
- raise exceptions.RequestFailure(
- "Failed making request for catalog item {}: {}".format(
- catalog_item.catalog_resource_name,
- response_handler.response_data
- )
- )
+ # if not response_handler.success:
+ # raise exceptions.RequestFailure(
+ # "Failed making request for catalog item {}: {}".format(
+ # catalog_item.catalog_resource_name,
+ # response_handler.response_data
+ # )
+ # )
- return response_handler
+ # return response_handler
def validate_request(catalog_item, kwargs):