Skip to content

Commit

Permalink
bugfix: 插件管理-节点列表页面加载异常(fixed TencentBlueKing#334)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangzhw8 committed Dec 13, 2021
1 parent aabd6da commit cd490b9
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion apps/node_man/handlers/meta.py
Original file line number Diff line number Diff line change
Expand Up @@ -381,8 +381,19 @@ def fetch_plugin_host_condition(self):
],
}
)
ret_value.extend(
[
{
"id": plugin_name,
"name": plugin_name,
# 数据量较大的情况下,children获取较慢,此处插件的children设置为空,由前端异步请求获取
"children": [],
}
for plugin_name in settings.HEAD_PLUGINS
]
)

return self.filter_empty_children(ret_value)
return ret_value

@staticmethod
def fetch_plugin_version_condition():
Expand Down

0 comments on commit cd490b9

Please sign in to comment.