Skip to content

Commit

Permalink
Fix get raw history for transient decision (cadence-workflow#3847)
Browse files Browse the repository at this point in the history
  • Loading branch information
yycptt authored Dec 11, 2020
1 parent 76a38b4 commit 9cb4052
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/frontend/workflowHandler.go
Original file line number Diff line number Diff line change
Expand Up @@ -3355,7 +3355,7 @@ func (wh *WorkflowHandler) getRawHistory(
})
}

if len(nextPageToken) == 0 && transientDecision != nil {
if len(resp.NextPageToken) == 0 && transientDecision != nil {
if err := wh.validateTransientDecisionEvents(nextEventID, transientDecision); err != nil {
scope.IncCounter(metrics.CadenceErrIncompleteHistoryCounter)
wh.GetLogger().Error("getHistory error",
Expand Down

0 comments on commit 9cb4052

Please sign in to comment.