mirror of
https://github.com/onepanelio/onepanel.git
synced 2025-10-08 07:00:06 +08:00
Fixing the Terminate CronWorkflow
- Was deleting workflow executions instead of Cron Workflows.
This commit is contained in:
@@ -189,7 +189,7 @@ func (c *CronWorkflowServer) TerminateCronWorkflow(ctx context.Context, req *api
|
||||
return nil, err
|
||||
}
|
||||
|
||||
err = client.TerminateWorkflowExecution(req.Namespace, req.Name)
|
||||
err = client.TerminateCronWorkflow(req.Namespace, req.Name)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
Reference in New Issue
Block a user