diff --git a/website/source/discovery.html.erb b/website/source/discovery.html.erb index 55f77d494f..0755043d68 100644 --- a/website/source/discovery.html.erb +++ b/website/source/discovery.html.erb @@ -175,14 +175,19 @@ web-frontend.service.consul. 0 IN A 10.0.1.109
- $ curl http://localhost:8500/v1/catalog/datacenters -["dc1", "dc2"]$ curl http://localhost:8500/v1/catalog/nodes?dc=dc2 + +$ curl http://localhost:8500/v1/catalog/datacenters +[ + "dc1", + "dc2" +] +$ curl http://localhost:8500/v1/catalog/nodes?dc=dc2 [ { "ID": "7081dcdf-fdc0-0432-f2e8-a357d36084e1", "Node": "10-0-1-109", "Address": "10.0.1.109", - "Datacenter": "dc2", + "Datacenter": "dc2", "TaggedAddresses": { "lan": "10.0.1.109", "wan": "10.0.1.109"