Skip to content

Commit

Permalink
Fix ScanWorkflowExecutions function in frontend client (uber#4781)
Browse files Browse the repository at this point in the history
  • Loading branch information
Shaddoll authored Mar 25, 2022
1 parent b445012 commit 7328473
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/frontend/metricClient.go
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ func (c *metricClient) ScanWorkflowExecutions(
c.metricsClient.IncCounter(metrics.FrontendClientScanWorkflowExecutionsScope, metrics.CadenceClientRequests)

sw := c.metricsClient.StartTimer(metrics.FrontendClientScanWorkflowExecutionsScope, metrics.CadenceClientLatency)
resp, err := c.client.ListWorkflowExecutions(ctx, request, opts...)
resp, err := c.client.ScanWorkflowExecutions(ctx, request, opts...)
sw.Stop()

if err != nil {
Expand Down

0 comments on commit 7328473

Please sign in to comment.