mirror of
https://github.com/hatchet-dev/hatchet.git
synced 2025-12-30 13:19:44 -06:00
Add ApplyNamespace for BulkRunWorkflow (#2374)
This commit is contained in:
@@ -294,8 +294,9 @@ func (a *adminClientImpl) BulkRunWorkflow(workflows []*WorkflowRun) ([]string, e
|
||||
return nil, fmt.Errorf("could not marshal input: %w", err)
|
||||
}
|
||||
|
||||
workflowName := client.ApplyNamespace(workflow.Name, &a.namespace)
|
||||
triggerWorkflowRequests[i] = &admincontracts.TriggerWorkflowRequest{
|
||||
Name: workflow.Name,
|
||||
Name: workflowName,
|
||||
Input: string(inputBytes),
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user