Merge "Fix BackOffLoopingCall error so it is not misleading" into stable/xena

This commit is contained in:
Zuul 2022-04-05 11:46:31 +00:00 committed by Gerrit Code Review
commit 03d4fdda59
1 changed files with 1 additions and 1 deletions

View File

@ -348,7 +348,7 @@ class BackOffLoopingCall(LoopingCallBase):
if timeout > 0 and self._error_time + idle > timeout:
raise LoopingCallTimeOut(
_('Looping call timed out after %.02f seconds')
% self._error_time)
% (self._error_time + idle))
self._error_time += idle
return idle