Docs discovery typo (#16628)

* docs(discovery): typo

* docs(discovery): EOF and trim lines

---------

Co-authored-by: trujillo-adam <47586768+trujillo-adam@users.noreply.github.com>
This commit is contained in:
Bastien Dronneau 2023-03-14 16:49:48 +01:00 committed by GitHub
parent 9d21736e9f
commit a915d0ca87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,7 +5,7 @@ description: ->
Learn how to dynamically query the Consul DNS using prepared queries, which enable robust service and node lookups. Learn how to dynamically query the Consul DNS using prepared queries, which enable robust service and node lookups.
--- ---
# Enable dynamic DNS aueries # Enable dynamic DNS queries
This topic describes how to dynamically query the Consul catalog using prepared queries. Prepared queries are configurations that enable you to register a complex service query and execute it on demand. For information about how to perform standard node and service lookups, refer to [Perform Static DNS Queries](/consul/docs/services/discovery/dns-static-lookups). This topic describes how to dynamically query the Consul catalog using prepared queries. Prepared queries are configurations that enable you to register a complex service query and execute it on demand. For information about how to perform standard node and service lookups, refer to [Perform Static DNS Queries](/consul/docs/services/discovery/dns-static-lookups).
@ -43,14 +43,14 @@ Refer to the [prepared query reference](/consul/api-docs/query#create-prepared-q
"Tags": ["primary", "!experimental"], "Tags": ["primary", "!experimental"],
"NodeMeta": { "NodeMeta": {
"instance_type": "m3.large" "instance_type": "m3.large"
}, },
"ServiceMeta": { "ServiceMeta": {
"environment": "production" "environment": "production"
} }
}, },
"DNS": { "DNS": {
"TTL": "10s" "TTL": "10s"
} }
} }
``` ```