File tree Expand file tree Collapse file tree 4 files changed +7
-0
lines changed Expand file tree Collapse file tree 4 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -223,6 +223,7 @@ func RegisterDomainRequest(t *shared.RegisterDomainRequest) *apiv1.RegisterDomai
223
223
WorkflowExecutionRetentionPeriod : daysToDuration (t .WorkflowExecutionRetentionPeriodInDays ),
224
224
Clusters : ClusterReplicationConfigurationArray (t .Clusters ),
225
225
ActiveClusterName : t .GetActiveClusterName (),
226
+ ActiveClustersByRegion : t .GetActiveClustersByRegion (),
226
227
Data : t .Data ,
227
228
SecurityToken : t .GetSecurityToken (),
228
229
IsGlobalDomain : t .GetIsGlobalDomain (),
Original file line number Diff line number Diff line change 88
88
ClusterReplicationConfigurationArray = []* apiv1.ClusterReplicationConfiguration {
89
89
& ClusterReplicationConfiguration ,
90
90
}
91
+ ActiveClustersByRegion = map [string ]string {
92
+ "Region1" : ClusterName1 ,
93
+ "Region2" : ClusterName2 ,
94
+ }
91
95
)
Original file line number Diff line number Diff line change 34
34
WorkflowExecutionRetentionPeriod : DomainRetention ,
35
35
Clusters : ClusterReplicationConfigurationArray ,
36
36
ActiveClusterName : ClusterName1 ,
37
+ ActiveClustersByRegion : ActiveClustersByRegion ,
37
38
Data : DomainData ,
38
39
SecurityToken : SecurityToken ,
39
40
IsGlobalDomain : true ,
Original file line number Diff line number Diff line change @@ -226,6 +226,7 @@ func RegisterDomainRequest(t *apiv1.RegisterDomainRequest) *shared.RegisterDomai
226
226
WorkflowExecutionRetentionPeriodInDays : durationToDays (t .WorkflowExecutionRetentionPeriod ),
227
227
Clusters : ClusterReplicationConfigurationArray (t .Clusters ),
228
228
ActiveClusterName : & t .ActiveClusterName ,
229
+ ActiveClustersByRegion : t .ActiveClustersByRegion ,
229
230
Data : t .Data ,
230
231
SecurityToken : & t .SecurityToken ,
231
232
IsGlobalDomain : & t .IsGlobalDomain ,
You can’t perform that action at this time.
0 commit comments