From 921636f9b750d6212e4e67c5183cd157b26378ee Mon Sep 17 00:00:00 2001 From: dcd <1151627903@qq.com> Date: Thu, 9 May 2024 15:39:24 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=8D=95=E4=B8=9A?= =?UTF-8?q?=E5=8A=A1=E6=96=87=E4=BB=B6=E5=88=86=E5=8F=91=E5=88=9B=E5=BB=BA?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E6=BA=90=E9=97=AE=E9=A2=98=20(closed=20#2215?= =?UTF-8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/core/files/storage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/core/files/storage.py b/apps/core/files/storage.py index 4a32a5a9d..9c5fb57a3 100644 --- a/apps/core/files/storage.py +++ b/apps/core/files/storage.py @@ -86,7 +86,7 @@ def _handle_file_source_list( # 获取或创建文件源 file_source_obj = BkJobFileSourceManager.get_or_create_file_source( - bk_biz_id=extra_transfer_file_params["bk_biz_id"], + bk_biz_id=settings.BLUEKING_BIZ_ID, storage_type=self.storage_type, credential_type=constants.FileCredentialType.USERNAME_PASSWORD.value, credential_auth_info={"credential_username": self.username, "credential_password": self.password},