You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by kl...@apache.org on 2023/11/08 06:55:21 UTC

(incubator-devlake) 01/01: fix: webhook does not implement DataSourcePluginBlueprintV200

This is an automated email from the ASF dual-hosted git repository.

klesh pushed a commit to branch kw-webhook-datasource
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git

commit eb60e17556ec9a739daad32bfc45d96b6718244c
Author: Klesh Wong <zh...@merico.dev>
AuthorDate: Wed Nov 8 14:55:09 2023 +0800

    fix: webhook does not implement DataSourcePluginBlueprintV200
---
 backend/plugins/webhook/impl/impl.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/backend/plugins/webhook/impl/impl.go b/backend/plugins/webhook/impl/impl.go
index 9278da606..468a63841 100644
--- a/backend/plugins/webhook/impl/impl.go
+++ b/backend/plugins/webhook/impl/impl.go
@@ -35,6 +35,7 @@ var _ interface {
 	plugin.PluginApi
 	plugin.PluginModel
 	plugin.PluginMigration
+	plugin.DataSourcePluginBlueprintV200
 } = (*Webhook)(nil)
 
 type Webhook struct{}
@@ -62,7 +63,6 @@ func (p Webhook) GetTablesInfo() []dal.Tabler {
 func (p Webhook) MakeDataSourcePipelinePlanV200(
 	connectionId uint64,
 	_ []*coreModels.BlueprintScope,
-	_ coreModels.SyncPolicy,
 ) (pp coreModels.PipelinePlan, sc []plugin.Scope, err errors.Error) {
 	return api.MakeDataSourcePipelinePlanV200(connectionId)
 }