diff options
Diffstat (limited to 'onap-client/onap_client/client')
-rw-r--r-- | onap-client/onap_client/client/response.py | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/onap-client/onap_client/client/response.py b/onap-client/onap_client/client/response.py index 9693af5..307ed1b 100644 --- a/onap-client/onap_client/client/response.py +++ b/onap-client/onap_client/client/response.py @@ -79,13 +79,8 @@ class ResponseHandler: response_items, ) in self.request_object.return_data.items(): response_value = response_iterator(response_data, *response_items) - if not response_value: - logger.warning( - "Request was successful but value for {} was not present in response".format( - response_key - ) - ) - setattr(self, response_key, response_value) + if response_value: + setattr(self, response_key, response_value) except simplejson.errors.JSONDecodeError: response_data = response.text |