Merge "Replace deprecated tenacity.Retrying.call"

This commit is contained in:
Zuul 2021-08-19 15:17:47 +00:00 committed by Gerrit Code Review
commit 1c1acc100a
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ def retry(retry_param, interval=1, retries=3, backoff_rate=2,
retry=retry(retry_param),
wait=tenacity.wait_exponential(
multiplier=interval, min=0, exp_base=backoff_rate))
return r.call(f, *args, **kwargs)
return r(f, *args, **kwargs)
return _wrapper