建议重构插件依赖相关的插件启动逻辑 #5872
Labels
area/core
Issues or PRs related to the Halo Core
kind/improvement
Categorizes issue or PR as related to a improvement.
Milestone
Your current Halo version
2.15.1
Describe this feature
目前插件依赖中关于被依赖插件的停止或启动存在一些问题:
重构点:
以升级步骤为例,应该的逻辑是:
如此不在需要停止插件时检测依赖并记录到当前插件然后又再启动后恢复依赖插件的状态,且不需要去以内存中实际状态为主来修改插件 spec.enabled,spec.enabled 是用户期望,无论如何要以用户期望为准,避免出现升级应用市场插件时其他插件被停止而没有自动启动的问题
Additional information
/kind improvement
/area core
/milestone 2.16.x
/assign @JohnNiang
The text was updated successfully, but these errors were encountered: