It's not an immutable client anymore.

This commit is contained in:
Itamar Turner-Trauring 2022-05-12 09:44:30 -04:00
parent f3cf13154d
commit a54b443f9d

View File

@ -1174,9 +1174,9 @@ class _HTTPStorageServer(object):
renew_secret,
cancel_secret
):
immutable_client = StorageClientGeneral(self._http_client)
client = StorageClientGeneral(self._http_client)
try:
await immutable_client.add_or_renew_lease(
await client.add_or_renew_lease(
storage_index, renew_secret, cancel_secret
)
except ClientException as e: