mirror of
https://github.com/grafana/grafana.git
synced 2025-07-30 21:02:45 +08:00
Plugins: Rename oauth package to auth (#75611)
* Plugins: Rename oauth package to auth * Missed one comment
This commit is contained in:
@ -5,6 +5,7 @@ import (
|
||||
|
||||
"github.com/grafana/grafana/pkg/infra/tracing"
|
||||
"github.com/grafana/grafana/pkg/plugins"
|
||||
"github.com/grafana/grafana/pkg/plugins/auth"
|
||||
"github.com/grafana/grafana/pkg/plugins/backendplugin/coreplugin"
|
||||
"github.com/grafana/grafana/pkg/plugins/backendplugin/provider"
|
||||
pCfg "github.com/grafana/grafana/pkg/plugins/config"
|
||||
@ -25,7 +26,6 @@ import (
|
||||
"github.com/grafana/grafana/pkg/plugins/manager/registry"
|
||||
"github.com/grafana/grafana/pkg/plugins/manager/signature"
|
||||
"github.com/grafana/grafana/pkg/plugins/manager/sources"
|
||||
"github.com/grafana/grafana/pkg/plugins/oauth"
|
||||
"github.com/grafana/grafana/pkg/plugins/pluginscdn"
|
||||
"github.com/grafana/grafana/pkg/plugins/repo"
|
||||
"github.com/grafana/grafana/pkg/services/caching"
|
||||
@ -114,7 +114,7 @@ var WireSet = wire.NewSet(
|
||||
keyretriever.ProvideService,
|
||||
dynamic.ProvideService,
|
||||
serviceregistration.ProvideService,
|
||||
wire.Bind(new(oauth.ExternalServiceRegistry), new(*serviceregistration.Service)),
|
||||
wire.Bind(new(auth.ExternalServiceRegistry), new(*serviceregistration.Service)),
|
||||
)
|
||||
|
||||
// WireExtensionSet provides a wire.ProviderSet of plugin providers that can be
|
||||
|
Reference in New Issue
Block a user