Skip to content

Commit ad1624c

Browse files
committed
Updated cluster argument syntax
1 parent 46086f9 commit ad1624c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/03-concepts/08-cross-dc-replication.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ clusterMetadata:
173173
After the configuration is deployed:
174174
175175
1. Register a global domain
176-
`cadence --do <domain_name> domain register --global_domain true --clusters clusterDCA clusterDCB --active_cluster clusterDCA`
176+
`cadence --do <domain_name> domain register --global_domain true --clusters clusterDCA,clusterDCB --active_cluster clusterDCA`
177177

178178

179179
2. Run some workflow and failover domain from one to another

docs/06-cli/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ cadence --do samples-domain d re
190190
```
191191
If your Cadence cluster has enable [global domain(XDC replication)](https://cadenceworkflow.io/docs/concepts/cross-dc-replication/), then you have to specify the replicaiton settings when registering a domain:
192192
```bash
193-
cadence --domains amples-domain domain register --active_cluster clusterNameA --clusters clusterNameA clusterNameB
193+
cadence --domains amples-domain domain register --active_cluster clusterNameA --clusters clusterNameA,clusterNameB
194194
```
195195

196196
- View "samples-domain" details:

0 commit comments

Comments
 (0)