From 26d24adeb542b52c51264f8c5a0ccb17401a93d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?v=5Fdcdding=28=E4=B8=81=E8=B6=85=E8=BE=BE=29?= <1151627903@qq.com> Date: Mon, 1 Apr 2024 20:40:20 +0800 Subject: [PATCH] =?UTF-8?q?bug:=20=E8=B5=84=E6=BA=90=E9=85=8D=E9=A2=9D?= =?UTF-8?q?=E8=B0=83=E6=95=B4=E4=B8=8D=E7=94=9F=E6=95=88=20(closed=20#2099?= =?UTF-8?q?)=20#=20Reviewed,=20transaction=20id:=205011?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/node_man/handlers/plugin_v2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/node_man/handlers/plugin_v2.py b/apps/node_man/handlers/plugin_v2.py index 409fda38b..588cbeb5c 100644 --- a/apps/node_man/handlers/plugin_v2.py +++ b/apps/node_man/handlers/plugin_v2.py @@ -372,7 +372,7 @@ def set_resource_policy( defaults=dict(cpu=policy["cpu"], mem=policy["mem"]), ) job_id = cls.operate( - job_type=constants.JobType.MAIN_RELOAD_PLUGIN, + job_type=constants.JobType.MAIN_RESTART_PLUGIN, plugin_name=policy["plugin_name"], scope={ "node_type": models.Subscription.NodeType.SERVICE_TEMPLATE,