mirror of
https://github.com/grafana/grafana.git
synced 2025-08-02 18:12:13 +08:00
K8s: App Plugins: Fix dashboard updater (#104583)
This commit is contained in:

committed by
GitHub

parent
759aa12d2b
commit
cf453b46d4
@ -139,6 +139,7 @@ func (du *DashboardUpdater) syncPluginDashboards(ctx context.Context, plugin plu
|
||||
|
||||
func (du *DashboardUpdater) handlePluginStateChanged(ctx context.Context, event *pluginsettings.PluginStateChangedEvent) error {
|
||||
du.logger.Info("Plugin state changed", "pluginId", event.PluginId, "enabled", event.Enabled)
|
||||
ctx, _ = identity.WithServiceIdentity(ctx, event.OrgId)
|
||||
|
||||
if event.Enabled {
|
||||
p, exists := du.pluginStore.Plugin(ctx, event.PluginId)
|
||||
|
Reference in New Issue
Block a user