Skip to content

Commit

Permalink
Run test cases on hns
Browse files Browse the repository at this point in the history
  • Loading branch information
yanghua committed Oct 18, 2024
1 parent 97a829c commit 053725a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tosfs/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -845,7 +845,7 @@ def isdir(self, path: str) -> bool:

try:
resp = retryable_func_executor(
lambda: self.tos_client.head_object(bucket, key) and True,
lambda: self.tos_client.head_object(bucket, key),
max_retry_num=self.max_retry_num,
)
if self._is_fns_bucket(bucket):
Expand Down

0 comments on commit 053725a

Please sign in to comment.