Skip to content

Commit f126b9c

Browse files
committed
post merge fix
1 parent b7d768e commit f126b9c

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

flow/e2e/test_utils.go

+2-5
Original file line numberDiff line numberDiff line change
@@ -530,14 +530,11 @@ type WorkflowRun struct {
530530
}
531531

532532
func ExecutePeerflow(tc client.Client, wf interface{}, args ...interface{}) WorkflowRun {
533-
return ExecuteWorkflow(tc, shared.PeerFlowTaskQueueID, wf, args...)
533+
return ExecuteWorkflow(tc, shared.PeerFlowTaskQueue, wf, args...)
534534
}
535535

536536
func ExecuteWorkflow(tc client.Client, taskQueueID shared.TaskQueueID, wf interface{}, args ...interface{}) WorkflowRun {
537-
taskQueue, err := shared.GetPeerFlowTaskQueueName(taskQueueID)
538-
if err != nil {
539-
panic(err)
540-
}
537+
taskQueue := shared.GetPeerFlowTaskQueueName(taskQueueID)
541538

542539
wr, err := tc.ExecuteWorkflow(
543540
context.Background(),

0 commit comments

Comments
 (0)