Skip to content

Commit

Permalink
feat: 安装插件中原子执行动作顺序优化 (closed TencentBlueKing#2438)
Browse files Browse the repository at this point in the history
  • Loading branch information
Huayeaaa committed Oct 29, 2024
1 parent 7f47072 commit 4fcb27e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/backend/subscription/steps/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -1016,9 +1016,9 @@ def _generate_activities(self, plugin_manager: PluginManager):
plugin_manager.transfer_package(),
plugin_manager.install_package(),
plugin_manager.allocate_port(),
plugin_manager.set_process_status(constants.ProcStateType.RUNNING),
plugin_manager.render_and_push_config_by_subscription(self.step.subscription_step.id),
plugin_manager.operate_proc(op_type=constants.GseOpType.RESTART, plugin_desc=self.step.plugin_desc),
plugin_manager.set_process_status(constants.ProcStateType.RUNNING),
]

return activities, None
Expand Down

0 comments on commit 4fcb27e

Please sign in to comment.