Skip to content

Commit c894c5c

Browse files
committed
fix unit test
1 parent ac95f4e commit c894c5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/internal_task_pollers.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1130,7 +1130,7 @@ func (atp *activityTaskPoller) pollWithMetrics(ctx context.Context,
11301130
scheduledToStartLatency := time.Duration(response.GetStartedTimestamp() - response.GetScheduledTimestampOfThisAttempt())
11311131
metricsScope.Timer(metrics.ActivityScheduledToStartLatency).Record(scheduledToStartLatency)
11321132

1133-
return &activityTask{task: response, pollStartTime: startTime}, nil
1133+
return &activityTask{task: response, pollStartTime: startTime, autoConfigHint: response.GetAutoConfigHint()}, nil
11341134
}
11351135

11361136
// PollTask polls a new task

0 commit comments

Comments
 (0)