Skip to content

Commit

Permalink
Fix thrift mapper for DomainConfiguration (cadence-workflow#5268)
Browse files Browse the repository at this point in the history
  • Loading branch information
Shaddoll authored May 9, 2023
1 parent edf534c commit d85fe73
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions common/types/mapper/thrift/shared.go
Original file line number Diff line number Diff line change
Expand Up @@ -1856,6 +1856,7 @@ func FromDomainConfiguration(t *types.DomainConfiguration) *shared.DomainConfigu
HistoryArchivalURI: &t.HistoryArchivalURI,
VisibilityArchivalStatus: FromArchivalStatus(t.VisibilityArchivalStatus),
VisibilityArchivalURI: &t.VisibilityArchivalURI,
Isolationgroups: FromIsolationGroupConfig(t.IsolationGroups),
}
}

Expand All @@ -1872,6 +1873,7 @@ func ToDomainConfiguration(t *shared.DomainConfiguration) *types.DomainConfigura
HistoryArchivalURI: t.GetHistoryArchivalURI(),
VisibilityArchivalStatus: ToArchivalStatus(t.VisibilityArchivalStatus),
VisibilityArchivalURI: t.GetVisibilityArchivalURI(),
IsolationGroups: ToIsolationGroupConfig(t.Isolationgroups),
}
}

Expand Down

0 comments on commit d85fe73

Please sign in to comment.