Merge pull request #14420 from hashicorp/docs/fix-peering-guide

docs: Fix code example in cluster peering
This commit is contained in:
Chris S. Kim 2022-08-31 12:26:21 -04:00 committed by GitHub
commit d037ccf3e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 3 deletions

View File

@ -108,7 +108,7 @@ First, create a configuration entry and specify the `Kind` as `"exported-service
```hcl ```hcl
Kind = "exported-services" Kind = "exported-services"
Name = "default"
Services = [ Services = [
{ {
## The name and namespace of the service to export. ## 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 ## The peer name to reference in config is the one set
## during the peering process. ## during the peering process.
Peer = "cluster-02" PeerName = "cluster-02"
}
} }
] ]
}
]
``` ```
</CodeBlockConfig> </CodeBlockConfig>