Skip to content

Commit

Permalink
fix: 修复单业务文件分发创建文件源问题 (closed TencentBlueKing#2215)
Browse files Browse the repository at this point in the history
  • Loading branch information
Huayeaaa authored and ZhuoZhuoCrayon committed May 10, 2024
1 parent 37c3913 commit 921636f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/core/files/storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -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},
Expand Down

0 comments on commit 921636f

Please sign in to comment.