Skip to content

Commit

Permalink
bugfix: 新装AGENT时未写入安装通道ID
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangzhw8 committed Sep 2, 2021
1 parent 85e6ded commit 15bdf4a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/backend/components/collections/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,7 @@ def schedule(self, data, parent_data, callback_data=None):
"os_type": host_info["os_type"],
"node_type": host_info["host_node_type"],
"ap_id": host_info["ap_id"],
"install_channel_id": host_info.get("install_channel_id"),
"upstream_nodes": host_info.get("upstream_nodes", []),
"updated_at": timezone.now(),
"extra_data": extra_data,
Expand Down

0 comments on commit 15bdf4a

Please sign in to comment.