Skip to content

Commit 6eec104

Browse files
committed
Populate Sticky TaskListKind in RespondTaskCompleted request
1 parent 4d4c09f commit 6eec104

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/internal_task_pollers.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ func (wtp *workflowTaskPoller) RespondTaskCompleted(completedRequest interface{}
448448
case *s.RespondDecisionTaskCompletedRequest:
449449
if request.StickyAttributes == nil && !wtp.disableStickyExecution {
450450
request.StickyAttributes = &s.StickyExecutionAttributes{
451-
WorkerTaskList: &s.TaskList{Name: common.StringPtr(getWorkerTaskList(wtp.stickyUUID))},
451+
WorkerTaskList: &s.TaskList{Name: common.StringPtr(getWorkerTaskList(wtp.stickyUUID)), Kind: s.TaskListKindSticky.Ptr()},
452452
ScheduleToStartTimeoutSeconds: common.Int32Ptr(common.Int32Ceil(wtp.StickyScheduleToStartTimeout.Seconds())),
453453
}
454454
} else {

0 commit comments

Comments
 (0)