Skip to content

Commit

Permalink
Set Local Activity result to empty not nil (#367)
Browse files Browse the repository at this point in the history
  • Loading branch information
feedmeapples authored Feb 23, 2021
1 parent 80e324b commit 8e45a8d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/internal_event_handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -1186,6 +1186,9 @@ func (weh *workflowExecutionEventHandlerImpl) ProcessLocalActivityResult(lar *lo
lamd.Backoff = lar.backoff
} else {
details[localActivityMarkerResultDetailsName] = lar.result
if details[localActivityMarkerResultDetailsName] == nil {
details[localActivityMarkerResultDetailsName] = &commonpb.Payloads{}
}
}

// encode marker data
Expand Down

0 comments on commit 8e45a8d

Please sign in to comment.