Skip to content

Commit 3840f1b

Browse files
authored
Merge pull request docker#7688 from trapier/fix-dtr-versions
dtr: fix a couple variable templates
2 parents 01760eb + 00b047a commit 3840f1b

File tree

3 files changed

+11
-11
lines changed
  • datacenter/dtr/2.3/guides/admin/configure/external-storage
  • ee/dtr/admin

3 files changed

+11
-11
lines changed

datacenter/dtr/2.3/guides/admin/configure/external-storage/nfs.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ mkdir /tmp/mydir && sudo mount -t nfs <nfs server>:<directory>
3131
One way to configure DTR to use an NFS directory is at install time:
3232

3333
```none
34-
docker run -it --rm {{ page.dtr_org }}/{{ page.dtr_repo }}:{{ dtr_version }} install \
34+
docker run -it --rm {{ page.dtr_org }}/{{ page.dtr_repo }}:{{ page.dtr_version }} install \
3535
--nfs-storage-url <nfs-storage-url> \
3636
<other options>
3737
```
@@ -50,15 +50,15 @@ If you want to start using the new DTR built-in support for NFS you can
5050
reconfigure DTR:
5151

5252
```none
53-
docker run -it --rm {{ page.dtr_org }}/{{ page.dtr_repo }}:{{ dtr_version }} reconfigure \
53+
docker run -it --rm {{ page.dtr_org }}/{{ page.dtr_repo }}:{{ page.dtr_version }} reconfigure \
5454
--nfs-storage-url <nfs-storage-url>
5555
```
5656

5757
If you want to reconfigure DTR to stop using NFS storage, leave the option
5858
in blank:
5959

6060
```none
61-
docker run -it --rm {{ page.dtr_org }}/{{ page.dtr_repo }}:{{ dtr_version}} reconfigure \
61+
docker run -it --rm {{ page.dtr_org }}/{{ page.dtr_repo }}:{{ page.dtr_version}} reconfigure \
6262
--nfs-storage-url ""
6363
```
6464

ee/dtr/admin/configure/external-storage/nfs.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ mkdir /tmp/mydir && sudo mount -t nfs <nfs server>:<directory> /tmp/mydir
3131
One way to configure DTR to use an NFS directory is at install time:
3232

3333
```bash
34-
docker run -it --rm {{ page.dtr_org }}/{{ page.dtr_repo }}:{{ dtr_version }} install \
34+
docker run -it --rm {{ page.dtr_org }}/{{ page.dtr_repo }}:{{ page.dtr_version }} install \
3535
--nfs-storage-url <nfs-storage-url> \
3636
<other options>
3737
```
@@ -51,15 +51,15 @@ To take advantage of the new DTR built-in support for NFS, you can
5151
reconfigure DTR to use NFS:
5252

5353
```bash
54-
docker run -it --rm {{ page.dtr_org }}/{{ page.dtr_repo }}:{{ dtr_version }} reconfigure \
54+
docker run -it --rm {{ page.dtr_org }}/{{ page.dtr_repo }}:{{ page.dtr_version }} reconfigure \
5555
--nfs-storage-url <nfs-storage-url>
5656
```
5757

5858
To reconfigure DTR to stop using NFS storage, leave the `--nfs-storage-url` option
5959
blank:
6060

6161
```bash
62-
docker run -it --rm {{ page.dtr_org }}/{{ page.dtr_repo }}:{{ dtr_version}} reconfigure \
62+
docker run -it --rm {{ page.dtr_org }}/{{ page.dtr_repo }}:{{ page.dtr_version}} reconfigure \
6363
--nfs-storage-url ""
6464
```
6565

ee/dtr/admin/monitor-and-troubleshoot/index.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@ replicas.
4141

4242
## Cluster status
4343

44-
The `/api/v0/meta/cluster_status` [endpoint](/reference/dtr/2.5/api/)
45-
requires administrator credentials, and returns a JSON object for the entire
46-
cluster as observed by the replica being queried. You can authenticate your
47-
requests using HTTP basic auth.
44+
The `/api/v0/meta/cluster_status` [endpoint](/reference/dtr/{{ site.dtr_version
45+
}}/api/) requires administrator credentials, and returns a JSON object for the
46+
entire cluster as observed by the replica being queried. You can authenticate
47+
your requests using HTTP basic auth.
4848

4949
```bash
5050
curl -ksL -u <user>:<pass> https://<dtr-domain>/api/v0/meta/cluster_status
@@ -72,4 +72,4 @@ troubleshoot, try [troubleshooting using logs](troubleshoot-with-logs.md).
7272

7373
## Where to go next
7474

75-
- [Troubleshoot with logs](troubleshoot-with-logs.md)
75+
- [Troubleshoot with logs](troubleshoot-with-logs.md)

0 commit comments

Comments
 (0)