mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
DOCS: Improve consistency in code examples in language reference (#2439)
Co-authored-by: Tom Limoncelli <tal@whatexit.org>
This commit is contained in:
committed by
GitHub
parent
0bf24d0282
commit
7977a7b81c
@@ -23,7 +23,7 @@ of the call.
|
||||
```javascript
|
||||
require("kubernetes/clusters.js");
|
||||
|
||||
D("mydomain.net", REG_MY_PROVIDER, PROVIDER,
|
||||
D("example.com", REG_MY_PROVIDER, PROVIDER,
|
||||
IncludeKubernetes()
|
||||
);
|
||||
```
|
||||
@@ -77,8 +77,8 @@ for (var domain in domains) {
|
||||
{% code title="domain-ip-map.json" %}
|
||||
```javascript
|
||||
{
|
||||
"mydomain.net": "1.1.1.1",
|
||||
"myotherdomain.org": "5.5.5.5"
|
||||
"example.com": "1.1.1.1",
|
||||
"other-example.com``": "5.5.5.5"
|
||||
}
|
||||
```
|
||||
{% endcode %}
|
||||
|
||||
Reference in New Issue
Block a user