Skip to content

Commit

Permalink
fix autoconfighint population for empty in frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
shijiesheng committed Jan 16, 2025
1 parent c8a889d commit af2eeec
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion service/frontend/api/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -2907,7 +2907,9 @@ func (wh *WorkflowHandler) createPollForDecisionTaskResponse(

if matchingResp.WorkflowExecution == nil {
// this will happen if there is no decision task to be send to worker / caller
return &types.PollForDecisionTaskResponse{}, nil
return &types.PollForDecisionTaskResponse{
AutoConfigHint: matchingResp.AutoConfigHint,
}, nil
}

var history *types.History
Expand Down

0 comments on commit af2eeec

Please sign in to comment.