mirror of
https://github.com/grafana/grafana.git
synced 2025-09-28 19:53:37 +08:00
Plugins: Standardize Golang enum naming convention (#69449)
* standardize enum pattern * fix up
This commit is contained in:
@ -28,9 +28,9 @@ func (s *LocalSource) PluginURIs(_ context.Context) []string {
|
||||
|
||||
func (s *LocalSource) DefaultSignature(_ context.Context) (plugins.Signature, bool) {
|
||||
switch s.class {
|
||||
case plugins.Core:
|
||||
case plugins.ClassCore:
|
||||
return plugins.Signature{
|
||||
Status: plugins.SignatureInternal,
|
||||
Status: plugins.SignatureStatusInternal,
|
||||
}, true
|
||||
default:
|
||||
return plugins.Signature{}, false
|
||||
|
Reference in New Issue
Block a user