mirror of https://github.com/status-im/consul.git
Merge pull request #14420 from hashicorp/docs/fix-peering-guide
docs: Fix code example in cluster peering
This commit is contained in:
commit
d037ccf3e8
|
@ -108,7 +108,7 @@ First, create a configuration entry and specify the `Kind` as `"exported-service
|
|||
|
||||
```hcl
|
||||
Kind = "exported-services"
|
||||
|
||||
Name = "default"
|
||||
Services = [
|
||||
{
|
||||
## The name and namespace of the service to export.
|
||||
|
@ -120,10 +120,11 @@ Services = [
|
|||
{
|
||||
## The peer name to reference in config is the one set
|
||||
## during the peering process.
|
||||
Peer = "cluster-02"
|
||||
}
|
||||
PeerName = "cluster-02"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
```
|
||||
|
||||
</CodeBlockConfig>
|
||||
|
|
Loading…
Reference in New Issue