Skip to content

Commit

Permalink
Fix typo in IDL for activityTimeout (cadence-workflow#2809)
Browse files Browse the repository at this point in the history
  • Loading branch information
longquanzheng authored Nov 11, 2019
1 parent 9f314d7 commit 5c4837e
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 42 deletions.
76 changes: 38 additions & 38 deletions .gen/go/shared/shared.go

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions idl/github.com/uber/cadence/shared.thrift
Original file line number Diff line number Diff line change
Expand Up @@ -667,8 +667,8 @@ struct ActivityTaskTimedOutEventAttributes {
30: optional TimeoutType timeoutType
// For retry activity, it may have a failure before timeout. It's important to keep those information for debug.
// Client can also provide the info for making next decision
40: optional string lastFailuireReason
50: optional binary lastFailuireDetails
40: optional string lastFailureReason
50: optional binary lastFailureDetails
}

struct ActivityTaskCancelRequestedEventAttributes {
Expand Down
4 changes: 2 additions & 2 deletions service/history/historyBuilder.go
Original file line number Diff line number Diff line change
Expand Up @@ -634,8 +634,8 @@ func (b *historyBuilder) newActivityTaskTimedOutEvent(
attributes.StartedEventId = common.Int64Ptr(startedEventID)
attributes.TimeoutType = common.TimeoutTypePtr(timeoutType)
attributes.Details = lastHeartBeatDetails
attributes.LastFailuireReason = common.StringPtr(lastFailureReason)
attributes.LastFailuireDetails = lastFailureDetail
attributes.LastFailureReason = common.StringPtr(lastFailureReason)
attributes.LastFailureDetails = lastFailureDetail

historyEvent.ActivityTaskTimedOutEventAttributes = attributes

Expand Down

0 comments on commit 5c4837e

Please sign in to comment.