Plugins: Move alias support to plugin json (but still hardcoded) (#75129)

This commit is contained in:
Ryan McKinley
2023-09-29 08:20:37 -07:00
committed by GitHub
parent e45867c635
commit 010b2461b9
16 changed files with 90 additions and 53 deletions

View File

@ -32,9 +32,6 @@ type Plugin struct {
AngularDetected bool
// This will be moved to plugin.json when we have general support in gcom
Alias string
ExternalService *auth.ExternalService
}
@ -76,7 +73,6 @@ func ToGrafanaDTO(p *plugins.Plugin) Plugin {
Module: p.Module,
BaseURL: p.BaseURL,
AngularDetected: p.AngularDetected,
Alias: p.Alias,
ExternalService: p.ExternalService,
}
}