Plugins: Support > 1 levels of plugin dependencies (#90174)

* do it

* prevent loops

* change to sync.Map
This commit is contained in:
Will Browne
2024-07-09 15:46:30 +01:00
committed by GitHub
parent 4f3fb83b0a
commit 343d6f8a0c
5 changed files with 195 additions and 58 deletions
@@ -35,7 +35,7 @@ func upgradeCommand(c utils.CommandLine) error {
return fmt.Errorf("failed to remove plugin '%s': %w", pluginID, err)
}
err = installPlugin(ctx, pluginID, "", c)
err = installPlugin(ctx, pluginID, "", newInstallPluginOpts(c))
if err == nil {
logRestartNotice()
}