From 3dbb0f6edfb3d4f76aea7d67b40fa6a7167c3b1b Mon Sep 17 00:00:00 2001 From: Gabriel Bernal Date: Tue, 8 Oct 2024 11:11:18 +0200 Subject: [PATCH] fix: use expected plugin console names (#581) --- pkg/controllers/uiplugin/plugin_info_builder.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/controllers/uiplugin/plugin_info_builder.go b/pkg/controllers/uiplugin/plugin_info_builder.go index 52423ab2..8627cf09 100644 --- a/pkg/controllers/uiplugin/plugin_info_builder.go +++ b/pkg/controllers/uiplugin/plugin_info_builder.go @@ -34,9 +34,9 @@ type UIPluginInfo struct { var pluginTypeToConsoleName = map[uiv1alpha1.UIPluginType]string{ uiv1alpha1.TypeDashboards: "console-dashboards-plugin", - uiv1alpha1.TypeTroubleshootingPanel: "console-troubleshooting-plugin", - uiv1alpha1.TypeDistributedTracing: "console-distributed-tracing-plugin", - uiv1alpha1.TypeLogging: "console-logging-plugin", + uiv1alpha1.TypeTroubleshootingPanel: "troubleshooting-panel-console-plugin", + uiv1alpha1.TypeDistributedTracing: "distributed-tracing-console-plugin", + uiv1alpha1.TypeLogging: "logging-view-plugin", } func PluginInfoBuilder(ctx context.Context, k client.Client, plugin *uiv1alpha1.UIPlugin, pluginConf UIPluginsConfiguration, clusterVersion string) (*UIPluginInfo, error) {