Skip to content

Commit

Permalink
Use new ctx function
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewjdawson2016 committed Nov 25, 2020
1 parent 8150c52 commit 0ef3c1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/internal_workflow_client.go
Expand Up @@ -915,7 +915,7 @@ func (wc *workflowClient) QueryWorkflowWithOptions(ctx context.Context, request
var resp *s.QueryWorkflowResponse
err := backoff.Retry(ctx,
func() error {
tchCtx, cancel, opt := newChannelContext(ctx)
tchCtx, cancel, opt := newChannelContextForQuery(ctx)
defer cancel()
var err error
resp, err = wc.workflowService.QueryWorkflow(tchCtx, req, opt...)
Expand Down

0 comments on commit 0ef3c1f

Please sign in to comment.