K8s: App Plugins: Fix dashboard updater (#104583)

This commit is contained in:
Stephanie Hingtgen
2025-04-25 15:51:38 -06:00
committed by GitHub
parent 759aa12d2b
commit cf453b46d4

View File

@ -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)