From 5586fee81a5a80f1f68142f82c597bcbfcab166f Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Thu, 5 Sep 2019 23:47:08 +0200 Subject: [PATCH] Fix liquid warnings on reset password pages (#9348) ``` => => # Liquid Warning: Liquid syntax error (line 33): Expected end_of_string but found number in "{{ index .Spec.TaskTemplate.ContainerSpec.Args 0 }}" in datacenter/ucp/3.1/guides/authorization/reset-user-password.md => => # Liquid Warning: Liquid syntax error (line 33): Expected end_of_string but found number in "{{ index .Spec.TaskTemplate.ContainerSpec.Args 0 }}" in ee/ucp/authorization/reset-user-password.md ``` Signed-off-by: Sebastiaan van Stijn --- datacenter/ucp/3.1/guides/authorization/reset-user-password.md | 2 ++ ee/ucp/authorization/reset-user-password.md | 2 ++ 2 files changed, 4 insertions(+) diff --git a/datacenter/ucp/3.1/guides/authorization/reset-user-password.md b/datacenter/ucp/3.1/guides/authorization/reset-user-password.md index 92f6116ccc..958e7245df 100644 --- a/datacenter/ucp/3.1/guides/authorization/reset-user-password.md +++ b/datacenter/ucp/3.1/guides/authorization/reset-user-password.md @@ -36,7 +36,9 @@ docker run --net=host -v ucp-auth-api-certs:/tls -it "$(docker inspect --format ### With DEBUG Global Log Level +{% raw %} If you have DEBUG set as your global log level within UCP, running `$(docker inspect --format '{{ index .Spec.TaskTemplate.ContainerSpec.Args 0 }}` returns `--debug` instead of `--db-addr`. Pass `Args 1` to `$docker inspect` instead to reset your admin password. +{% endraw %} {% raw %} ```bash diff --git a/ee/ucp/authorization/reset-user-password.md b/ee/ucp/authorization/reset-user-password.md index 92f6116ccc..958e7245df 100644 --- a/ee/ucp/authorization/reset-user-password.md +++ b/ee/ucp/authorization/reset-user-password.md @@ -36,7 +36,9 @@ docker run --net=host -v ucp-auth-api-certs:/tls -it "$(docker inspect --format ### With DEBUG Global Log Level +{% raw %} If you have DEBUG set as your global log level within UCP, running `$(docker inspect --format '{{ index .Spec.TaskTemplate.ContainerSpec.Args 0 }}` returns `--debug` instead of `--db-addr`. Pass `Args 1` to `$docker inspect` instead to reset your admin password. +{% endraw %} {% raw %} ```bash