Skip to content

Commit

Permalink
fix: use expected plugin console names (#581)
Browse files Browse the repository at this point in the history
  • Loading branch information
jgbernalp authored Oct 8, 2024
1 parent c9424bd commit 3dbb0f6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/controllers/uiplugin/plugin_info_builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 3dbb0f6

Please sign in to comment.