Skip to content

Commit

Permalink
feat: 上云环境针对0区域限制新增主机校验提到API层级 (closed TencentBlueKing#2501)
Browse files Browse the repository at this point in the history
  • Loading branch information
jpyoung3 committed Dec 9, 2024
1 parent f5f4160 commit c607be1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/node_man/handlers/validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit c607be1

Please sign in to comment.