Replace remaining usage of tenancy.Retrying.call

... because it is deprecated in favor of the __call__ method [1].
This change fixes one remaining usage left by the previous cleanup[2].

[1] d66af82a70
[2] 5055da9105

Change-Id: I5d55b674aabe5e635c9d92ca2b2fa37674dd5b5c
This commit is contained in:
Takashi Kajinami 2021-07-23 03:17:03 +09:00
parent 88c7a5d1ff
commit e48e23435e
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ def retry_on_db_error(func, retry=None):
# auth context before calling it (potentially in a new thread).
auth_ctx = context.ctx() if context.has_ctx() else None
return retry.call(_with_auth_context, auth_ctx, func, *args, **kw)
return retry(_with_auth_context, auth_ctx, func, *args, **kw)
return decorate