Skip to content
This repository has been archived by the owner on Oct 21, 2024. It is now read-only.

Commit

Permalink
fix plugin runner
Browse files Browse the repository at this point in the history
  • Loading branch information
tedim52 committed Aug 22, 2024
1 parent 336b255 commit 2190d68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kontrol-service/api/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 2190d68

Please sign in to comment.