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")