From c607be10be1c9be8cc622246966079a9a9cad2df Mon Sep 17 00:00:00 2001 From: jpyoung3 <809608046@qq.com> Date: Mon, 9 Dec 2024 11:28:52 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=B8=8A=E4=BA=91=E7=8E=AF=E5=A2=83?= =?UTF-8?q?=E9=92=88=E5=AF=B90=E5=8C=BA=E5=9F=9F=E9=99=90=E5=88=B6?= =?UTF-8?q?=E6=96=B0=E5=A2=9E=E4=B8=BB=E6=9C=BA=E6=A0=A1=E9=AA=8C=E6=8F=90?= =?UTF-8?q?=E5=88=B0API=E5=B1=82=E7=BA=A7=20(closed=20#2501)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/node_man/handlers/validator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/node_man/handlers/validator.py b/apps/node_man/handlers/validator.py index f2e12b343..b4a803031 100644 --- a/apps/node_man/handlers/validator.py +++ b/apps/node_man/handlers/validator.py @@ -439,7 +439,7 @@ def install_validate( add_host_biz_blacklist: typing.List[int] = models.GlobalSettings.get_config( models.GlobalSettings.KeyEnum.ADD_HOST_BIZ_BLACKLIST.value, default=[] ) - if job_type in const.JobType.INSTALL_AGENT: + if job_type in [const.JobType.INSTALL_AGENT]: for host in hosts: except_bk_cloud_id = host.get("bk_cloud_id") bk_biz_id = host.get("bk_biz_id")