Skip to content

Commit

Permalink
fix(backend): 导入故障池原子任务 TencentBlueKing#7747
Browse files Browse the repository at this point in the history
  • Loading branch information
iSecloud committed Mar 4, 2025
1 parent b416f59 commit 186be3f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
from backend.flow.plugins.components.collections.common.sa_idle_check import CheckMachineIdleComponent
from backend.flow.plugins.components.collections.common.sa_init import SaInitComponent
from backend.flow.plugins.components.collections.common.transfer_host_service import TransferHostServiceComponent
from backend.flow.plugins.components.collections.common.transfer_host_to_pool import TransferHostToPoolComponent
from backend.flow.utils.mysql.mysql_act_dataclass import InitCheckForResourceKwargs
from backend.ticket.models import Ticket

Expand Down Expand Up @@ -115,7 +116,7 @@ def machine_import_fault_pool_flow(self):

p.add_act(
act_name=_("主机导入故障池"),
act_component_code=CheckMachineIdleComponent.code,
act_component_code=TransferHostToPoolComponent.code,
kwargs={
"bk_biz_id": self.data["bk_biz_id"],
"recycle_hosts": self.data["hosts"],
Expand Down

0 comments on commit 186be3f

Please sign in to comment.