Skip to content

Commit

Permalink
fix: ugettext_lazy导入修改为gettext_lazy TencentBlueKing#7625
Browse files Browse the repository at this point in the history
  • Loading branch information
huangpixu committed Dec 9, 2024
1 parent 37dcde0 commit 3ba7f5b
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,10 @@ def cc_get_host_id_by_innerip_and_cloudid(executor, bk_biz_id, ip_str, supplier_
else:
return_innerip_set.add(host["bk_host_innerip"])
absent_innerip = set(ipv4s).difference(return_innerip_set)
message = f"IP[{', '.join(absent_innerip)}]在本业务下不存在: 请检查配置, 修复后重新执行|cc_get_host_id_by_innerip_and_cloudid"
message = (
f"IP [{', '.join(absent_innerip)}] 在本业务下不存在: "
"请检查配置, 修复后重新执行 | cc_get_host_id_by_innerip_and_cloudid"
)
logger.error(message)
return {"result": False, "message": message}
hosts.extend(host_list)
Expand Down

0 comments on commit 3ba7f5b

Please sign in to comment.