From 00b047a7e2a12c9a070f63271738eb99bd0363e3 Mon Sep 17 00:00:00 2001 From: Trapier Marshall Date: Thu, 15 Nov 2018 01:50:20 -0500 Subject: [PATCH] dtr: fix a couple variable templates --- .../2.3/guides/admin/configure/external-storage/nfs.md | 6 +++--- ee/dtr/admin/configure/external-storage/nfs.md | 6 +++--- ee/dtr/admin/monitor-and-troubleshoot/index.md | 10 +++++----- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/datacenter/dtr/2.3/guides/admin/configure/external-storage/nfs.md b/datacenter/dtr/2.3/guides/admin/configure/external-storage/nfs.md index e6c66280e5..1a6c3172b9 100644 --- a/datacenter/dtr/2.3/guides/admin/configure/external-storage/nfs.md +++ b/datacenter/dtr/2.3/guides/admin/configure/external-storage/nfs.md @@ -31,7 +31,7 @@ mkdir /tmp/mydir && sudo mount -t nfs : One way to configure DTR to use an NFS directory is at install time: ```none -docker run -it --rm {{ page.dtr_org }}/{{ page.dtr_repo }}:{{ dtr_version }} install \ +docker run -it --rm {{ page.dtr_org }}/{{ page.dtr_repo }}:{{ page.dtr_version }} install \ --nfs-storage-url \ ``` @@ -50,7 +50,7 @@ If you want to start using the new DTR built-in support for NFS you can reconfigure DTR: ```none -docker run -it --rm {{ page.dtr_org }}/{{ page.dtr_repo }}:{{ dtr_version }} reconfigure \ +docker run -it --rm {{ page.dtr_org }}/{{ page.dtr_repo }}:{{ page.dtr_version }} reconfigure \ --nfs-storage-url ``` @@ -58,7 +58,7 @@ If you want to reconfigure DTR to stop using NFS storage, leave the option in blank: ```none -docker run -it --rm {{ page.dtr_org }}/{{ page.dtr_repo }}:{{ dtr_version}} reconfigure \ +docker run -it --rm {{ page.dtr_org }}/{{ page.dtr_repo }}:{{ page.dtr_version}} reconfigure \ --nfs-storage-url "" ``` diff --git a/ee/dtr/admin/configure/external-storage/nfs.md b/ee/dtr/admin/configure/external-storage/nfs.md index 8c5f2ea9c9..987704ccb5 100644 --- a/ee/dtr/admin/configure/external-storage/nfs.md +++ b/ee/dtr/admin/configure/external-storage/nfs.md @@ -31,7 +31,7 @@ mkdir /tmp/mydir && sudo mount -t nfs : /tmp/mydir One way to configure DTR to use an NFS directory is at install time: ```bash -docker run -it --rm {{ page.dtr_org }}/{{ page.dtr_repo }}:{{ dtr_version }} install \ +docker run -it --rm {{ page.dtr_org }}/{{ page.dtr_repo }}:{{ page.dtr_version }} install \ --nfs-storage-url \ ``` @@ -51,7 +51,7 @@ To take advantage of the new DTR built-in support for NFS, you can reconfigure DTR to use NFS: ```bash -docker run -it --rm {{ page.dtr_org }}/{{ page.dtr_repo }}:{{ dtr_version }} reconfigure \ +docker run -it --rm {{ page.dtr_org }}/{{ page.dtr_repo }}:{{ page.dtr_version }} reconfigure \ --nfs-storage-url ``` @@ -59,7 +59,7 @@ To reconfigure DTR to stop using NFS storage, leave the `--nfs-storage-url` opti blank: ```bash -docker run -it --rm {{ page.dtr_org }}/{{ page.dtr_repo }}:{{ dtr_version}} reconfigure \ +docker run -it --rm {{ page.dtr_org }}/{{ page.dtr_repo }}:{{ page.dtr_version}} reconfigure \ --nfs-storage-url "" ``` diff --git a/ee/dtr/admin/monitor-and-troubleshoot/index.md b/ee/dtr/admin/monitor-and-troubleshoot/index.md index be920a6d3f..4e58b544fc 100644 --- a/ee/dtr/admin/monitor-and-troubleshoot/index.md +++ b/ee/dtr/admin/monitor-and-troubleshoot/index.md @@ -41,10 +41,10 @@ replicas. ## Cluster status -The `/api/v0/meta/cluster_status` [endpoint](/reference/dtr/2.5/api/) -requires administrator credentials, and returns a JSON object for the entire -cluster as observed by the replica being queried. You can authenticate your -requests using HTTP basic auth. +The `/api/v0/meta/cluster_status` [endpoint](/reference/dtr/{{ site.dtr_version +}}/api/) requires administrator credentials, and returns a JSON object for the +entire cluster as observed by the replica being queried. You can authenticate +your requests using HTTP basic auth. ```bash curl -ksL -u : https:///api/v0/meta/cluster_status @@ -72,4 +72,4 @@ troubleshoot, try [troubleshooting using logs](troubleshoot-with-logs.md). ## Where to go next -- [Troubleshoot with logs](troubleshoot-with-logs.md) \ No newline at end of file +- [Troubleshoot with logs](troubleshoot-with-logs.md)