Fixing the Terminate CronWorkflow

- Was deleting workflow executions instead of Cron Workflows.
This commit is contained in:
Aleksandr Melnikov
2020-03-31 13:19:08 -07:00
parent e2359e29e5
commit da2a0c06a7

View File

@@ -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
}