Skip to content

Commit

Permalink
Update service/history/workflow/mutable_state_impl.go
Browse files Browse the repository at this point in the history
Co-authored-by: Alex Shtin <[email protected]>
  • Loading branch information
ychebotarev and alexshtin authored Nov 18, 2024
1 parent 67c2527 commit 25fb27a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/history/workflow/mutable_state_impl.go
Original file line number Diff line number Diff line change
Expand Up @@ -4940,7 +4940,7 @@ func (ms *MutableStateImpl) updateActivityInfoForRetries(
})
}

func (ms *MutableStateImpl) UpdateActivity(activityId string, updateCallback UpdateActivityCallback) error {
func (ms *MutableStateImpl) UpdateActivity(activityId string, updater ActivityUpdater) error {

Check failure on line 4943 in service/history/workflow/mutable_state_impl.go

View workflow job for this annotation

GitHub Actions / Pre-build for cache

undefined: ActivityUpdater

Check failure on line 4943 in service/history/workflow/mutable_state_impl.go

View workflow job for this annotation

GitHub Actions / golangci

undefined: ActivityUpdater

Check failure on line 4943 in service/history/workflow/mutable_state_impl.go

View workflow job for this annotation

GitHub Actions / golangci

undefined: ActivityUpdater

Check failure on line 4943 in service/history/workflow/mutable_state_impl.go

View workflow job for this annotation

GitHub Actions / golangci

undefined: ActivityUpdater
ai, activityFound := ms.GetActivityByActivityID(activityId)
if !activityFound {
return consts.ErrActivityNotFound
Expand Down

0 comments on commit 25fb27a

Please sign in to comment.