mirror of https://github.com/status-im/consul.git
minor docs fix
This commit is contained in:
parent
b16f2e7392
commit
680b6ffc21
|
@ -136,7 +136,7 @@ In addition to the DNS API, the HTTP API can be used to query services:
|
||||||
|
|
||||||
```text
|
```text
|
||||||
$ curl http://localhost:8500/v1/catalog/service/web
|
$ curl http://localhost:8500/v1/catalog/service/web
|
||||||
[{"Node":"agent-one","Address":"172.20.20.11","ServiceID":"web", \
|
[{"Node":"Armons-MacBook-Air","Address":"172.20.20.11","ServiceID":"web", \
|
||||||
"ServiceName":"web","ServiceTags":["rails"],"ServicePort":80}]
|
"ServiceName":"web","ServiceTags":["rails"],"ServicePort":80}]
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue