From 2190d68eb58c8b6f19e56c224c92f779058d9e39 Mon Sep 17 00:00:00 2001 From: Tedi Mitiku Date: Thu, 22 Aug 2024 12:16:23 -0400 Subject: [PATCH] fix plugin runner --- kontrol-service/api/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kontrol-service/api/server.go b/kontrol-service/api/server.go index b724589..8ca54e6 100644 --- a/kontrol-service/api/server.go +++ b/kontrol-service/api/server.go @@ -109,7 +109,7 @@ func (sv *Server) DeleteTenantUuidFlowFlowId(_ context.Context, request api.Dele if flowTopology, found := allFlows[request.FlowId]; found { logrus.Infof("deleting flow %s", request.FlowId) - pluginRunner := plugins.NewPluginRunner(request.Uuid, sv.db) + pluginRunner := plugins.NewPluginRunner(plugins.NewGitPluginProviderImpl(), request.Uuid, sv.db) err := flow.DeleteFlow(pluginRunner, flowTopology, request.FlowId) if err != nil { errMsg := fmt.Sprintf("An error occurred deleting flow '%v'", request.FlowId)