Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
shijiesheng committed Jan 16, 2025
1 parent d675887 commit e16fdbc
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions internal/internal_task_handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ type (

// activityTask wraps a activity task.
activityTask struct {
task *s.PollForActivityTaskResponse
pollStartTime time.Time
task *s.PollForActivityTaskResponse
pollStartTime time.Time
}

// resetStickinessTask wraps a ResetStickyTaskListRequest.
Expand Down
18 changes: 9 additions & 9 deletions internal/internal_task_pollers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ func TestWorkflowTaskPoller(t *testing.T) {
},
}
for _, tt := range []struct {
name string
name string
response *s.PollForDecisionTaskResponse
expected *workflowTask
}{
Expand Down Expand Up @@ -127,7 +127,7 @@ func TestActivityTaskPoller(t *testing.T) {
},
}
for _, tt := range []struct {
name string
name string
response *s.PollForActivityTaskResponse
expected *activityTask
}{
Expand Down Expand Up @@ -319,12 +319,12 @@ func buildActivityTaskPoller(t *testing.T) (*activityTaskPoller, *workflowservic
basePoller: basePoller{
shutdownC: make(<-chan struct{}),
},
domain: _testDomainName,
taskListName: _testTaskList,
identity: _testIdentity,
service: mockService,
metricsScope: &metrics.TaggedScope{Scope: tally.NewTestScope("test", nil)},
logger: testlogger.NewZap(t),
featureFlags: FeatureFlags{},
domain: _testDomainName,
taskListName: _testTaskList,
identity: _testIdentity,
service: mockService,
metricsScope: &metrics.TaggedScope{Scope: tally.NewTestScope("test", nil)},
logger: testlogger.NewZap(t),
featureFlags: FeatureFlags{},
}, mockService
}

0 comments on commit e16fdbc

Please sign in to comment.