diff --git a/website/source/discovery.html.erb b/website/source/discovery.html.erb index d144cef7c4..0755043d68 100644 --- a/website/source/discovery.html.erb +++ b/website/source/discovery.html.erb @@ -175,7 +175,13 @@ web-frontend.service.consul. 0 IN A 10.0.1.109
- $ 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",