From 048ca600133fd4e1c8802034379c7b18e5aa9a1c Mon Sep 17 00:00:00 2001 From: kevin Date: Fri, 28 Nov 2025 14:42:49 +0800 Subject: [PATCH] fix aksk check bug --- fastdeploy/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fastdeploy/utils.py b/fastdeploy/utils.py index fcb5648c1..e91ea4ec4 100644 --- a/fastdeploy/utils.py +++ b/fastdeploy/utils.py @@ -979,7 +979,7 @@ def init_bos_client(): try: client = BosClient(cfg) - client.list_buckets(max_keys=1) + client.list_buckets() except BceServerError as e: if e.status_code == 403: raise Exception("BOS authentication failed: Invalid AK/SK") from e