make logging not use f-str, change others to f-str (#22882)

This commit is contained in:
Asuka Minato 2025-07-25 11:32:48 +09:00 • committed by GitHub
commit a189d293f8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
164 changed files with 557 additions and 563 deletions

View file

@ -69,7 +69,7 @@ class AzureBlobStorage(BaseStorage):
if self.account_key == "managedidentity":
return BlobServiceClient(account_url=self.account_url, credential=self.credential) # type: ignore
cache_key = "azure_blob_sas_token_{}_{}".format(self.account_name, self.account_key)
cache_key = f"azure_blob_sas_token_{self.account_name}_{self.account_key}"
cache_result = redis_client.get(cache_key)
if cache_result is not None:
sas_token = cache_result.decode("utf-8")