Skip to content

Commit

Permalink
bug: 资源配额调整不生效 (closed TencentBlueKing#2099)
Browse files Browse the repository at this point in the history
# Reviewed, transaction id: 5011
  • Loading branch information
Huayeaaa committed Apr 1, 2024
1 parent d3bda17 commit 26d24ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/node_man/handlers/plugin_v2.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 26d24ad

Please sign in to comment.