Plugins: Use public store instead of internal registry (#57631)

* Plugins: Use public store instead of internal registry

* update comments

* fix import

* fix test
This commit is contained in:
Will Browne
2022-10-27 18:44:28 +02:00
committed by GitHub
parent facf2b1ee8
commit 9f77bd4728
5 changed files with 24 additions and 29 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ import (
"github.com/grafana/grafana/pkg/plugins"
)
// Service is responsible for the storing and retrieval of plugins.
// Service is responsible for the internal storing and retrieval of plugins.
type Service interface {
// Plugin finds a plugin by its ID.
Plugin(ctx context.Context, id string) (*plugins.Plugin, bool)