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
223223 WorkflowExecutionRetentionPeriod : daysToDuration (t .WorkflowExecutionRetentionPeriodInDays ),
224224 Clusters : ClusterReplicationConfigurationArray (t .Clusters ),
225225 ActiveClusterName : t .GetActiveClusterName (),
226+ ActiveClustersByRegion : t .GetActiveClustersByRegion (),
226227 Data : t .Data ,
227228 SecurityToken : t .GetSecurityToken (),
228229 IsGlobalDomain : t .GetIsGlobalDomain (),
Original file line number Diff line number Diff line change 8888 ClusterReplicationConfigurationArray = []* apiv1.ClusterReplicationConfiguration {
8989 & ClusterReplicationConfiguration ,
9090 }
91+ ActiveClustersByRegion = map [string ]string {
92+ "Region1" : ClusterName1 ,
93+ "Region2" : ClusterName2 ,
94+ }
9195)
Original file line number Diff line number Diff line change 3434 WorkflowExecutionRetentionPeriod : DomainRetention ,
3535 Clusters : ClusterReplicationConfigurationArray ,
3636 ActiveClusterName : ClusterName1 ,
37+ ActiveClustersByRegion : ActiveClustersByRegion ,
3738 Data : DomainData ,
3839 SecurityToken : SecurityToken ,
3940 IsGlobalDomain : true ,
Original file line number Diff line number Diff line change @@ -226,6 +226,7 @@ func RegisterDomainRequest(t *apiv1.RegisterDomainRequest) *shared.RegisterDomai
226226 WorkflowExecutionRetentionPeriodInDays : durationToDays (t .WorkflowExecutionRetentionPeriod ),
227227 Clusters : ClusterReplicationConfigurationArray (t .Clusters ),
228228 ActiveClusterName : & t .ActiveClusterName ,
229+ ActiveClustersByRegion : t .ActiveClustersByRegion ,
229230 Data : t .Data ,
230231 SecurityToken : & t .SecurityToken ,
231232 IsGlobalDomain : & t .IsGlobalDomain ,
You can’t perform that action at this time.
0 commit comments