mirror of https://github.com/status-im/consul.git
Update website/content/docs/connect/cluster-peering/create-manage-peering.mdx
Co-authored-by: trujillo-adam <47586768+trujillo-adam@users.noreply.github.com>
This commit is contained in:
parent
77e4a5f3c4
commit
6840861a17
|
@ -173,7 +173,7 @@ You can list all active peering connections in a cluster.
|
||||||
<Tabs>
|
<Tabs>
|
||||||
<Tab heading="Consul API">
|
<Tab heading="Consul API">
|
||||||
|
|
||||||
After you establish a peering connection, [query the `/peering/` endpoint](/api-docs/peering#list-all-peerings) to get a list of all peering connections. For example, the following command requests a list of all peering connections on `localhost` and returns the info as a series of JSON objects:
|
After you establish a peering connection, [query the `/peering/` endpoint](/api-docs/peering#list-all-peerings) to get a list of all peering connections. For example, the following command requests a list of all peering connections on `localhost` and returns the information as a series of JSON objects:
|
||||||
|
|
||||||
```shell-session
|
```shell-session
|
||||||
$ curl http://127.0.0.1:8500/v1/peerings
|
$ curl http://127.0.0.1:8500/v1/peerings
|
||||||
|
|
Loading…
Reference in New Issue