Provisioning: Move provisioning extras to OSS extensions (#108167)
* Move provisioning extensions to OSS * Fix the wire stuff * Move it to extras packages * Add hack to assert test differently for enterprise
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
package extras
|
||||
|
||||
import (
|
||||
"github.com/grafana/grafana/pkg/registry/apis/provisioning"
|
||||
"github.com/grafana/grafana/pkg/registry/apis/provisioning/webhooks"
|
||||
)
|
||||
|
||||
// HACK: This is a hack so that wire can uniquely identify dependencies
|
||||
func ProvideProvisioningOSSExtras(webhook webhooks.WebhookExtraBuilder) []provisioning.ExtraBuilder {
|
||||
return []provisioning.ExtraBuilder{
|
||||
webhook.ExtraBuilder,
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user