From e8b8576711a75632ecaf63e9115a221255bd8d97 Mon Sep 17 00:00:00 2001 From: Mike Raineri Date: Thu, 13 Aug 2026 09:04:58 -0400 Subject: [PATCH] Fixed usage of 'max_retry' when attempting to raise the 'RetriesExhaustedError' exception Signed-off-by: Mike Raineri --- src/redfish/rest/v1.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = ''