diff --git a/src/redfish/rest/v1.py b/src/redfish/rest/v1.py index 837609f..3b03127 100644 --- a/src/redfish/rest/v1.py +++ b/src/redfish/rest/v1.py @@ -963,7 +963,7 @@ def _rest_request(self, path, method='GET', args=None, body=None, else: break - if attempts <= self._max_retry: + if attempts <= max_retry: if LOGGER.isEnabledFor(logging.DEBUG): headerstr = ''