From f4799d90c04c08b469dbdf510414aa15fb8d3082 Mon Sep 17 00:00:00 2001 From: ibuler Date: Sat, 10 Oct 2020 15:39:13 +0800 Subject: [PATCH] =?UTF-8?q?fix(assets):=20=E4=BF=AE=E5=A4=8D=E7=82=B9?= =?UTF-8?q?=E5=87=BB=E8=8A=82=E7=82=B9=E6=9B=B4=E6=96=B0=E7=A1=AC=E4=BB=B6?= =?UTF-8?q?=E4=BF=A1=E6=81=AF=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/assets/tasks/gather_asset_hardware_info.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/assets/tasks/gather_asset_hardware_info.py b/apps/assets/tasks/gather_asset_hardware_info.py index e473366a5..aa79e1655 100644 --- a/apps/assets/tasks/gather_asset_hardware_info.py +++ b/apps/assets/tasks/gather_asset_hardware_info.py @@ -129,5 +129,5 @@ def update_assets_hardware_info_period(): def update_node_assets_hardware_info_manual(node): task_name = _("Update node asset hardware information: {}").format(node.name) assets = node.get_all_assets() - result = update_assets_hardware_info_util.delay(assets, task_name=task_name) + result = update_assets_hardware_info_util(assets, task_name=task_name) return result