From d8e3f5d07199823fe8311b5a20f82c4a409de393 Mon Sep 17 00:00:00 2001 From: yunchao Date: Tue, 19 Nov 2024 15:22:18 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E8=B6=85=E5=A4=A7=E8=AE=A2=E9=98=85?= =?UTF-8?q?=E6=96=B9=E6=A1=88=20(closed=20#2429)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/backend/subscription/steps/agent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/backend/subscription/steps/agent.py b/apps/backend/subscription/steps/agent.py index 822f718c4..dbef6be9d 100644 --- a/apps/backend/subscription/steps/agent.py +++ b/apps/backend/subscription/steps/agent.py @@ -597,7 +597,7 @@ class ReinstallAgent2(InstallAgent2): def _generate_activities(self, agent_manager: AgentManager): activities, __ = super()._generate_activities(agent_manager) - # activities[0] = agent_manager.add_or_update_hosts() if settings.BKAPP_ENABLE_DHCP else None + activities[0] = agent_manager.add_or_update_hosts() if settings.BKAPP_ENABLE_DHCP else None return list(filter(None, activities)), None