diff --git a/pkg/registry/apis/wireset.go b/pkg/registry/apis/wireset.go index ed7d0aa1c5e..61221680dde 100644 --- a/pkg/registry/apis/wireset.go +++ b/pkg/registry/apis/wireset.go @@ -55,7 +55,6 @@ var WireSet = wire.NewSet( featuretoggle.RegisterAPIService, datasource.RegisterAPIService, folders.RegisterAPIService, - WireSetExts, // this will be moved to wireexts_oss.go in a following PR iam.RegisterAPIService, ProvisioningExtras, provisioning.RegisterAPIService, diff --git a/pkg/server/wireexts_oss.go b/pkg/server/wireexts_oss.go index 4c2e5f8b14d..0f0dd034983 100644 --- a/pkg/server/wireexts_oss.go +++ b/pkg/server/wireexts_oss.go @@ -11,6 +11,7 @@ import ( "github.com/grafana/grafana/pkg/plugins" "github.com/grafana/grafana/pkg/plugins/manager" "github.com/grafana/grafana/pkg/registry" + apisregistry "github.com/grafana/grafana/pkg/registry/apis" "github.com/grafana/grafana/pkg/registry/apis/secret/contracts" "github.com/grafana/grafana/pkg/registry/apis/secret/secretkeeper" "github.com/grafana/grafana/pkg/registry/backgroundsvcs" @@ -127,6 +128,7 @@ var wireExtsBasicSet = wire.NewSet( unified.ProvideUnifiedStorageClient, builder.ProvideDefaultBuildHandlerChainFuncFromBuilders, aggregatorrunner.ProvideNoopAggregatorConfigurator, + apisregistry.WireSetExts, ) var wireExtsSet = wire.NewSet(