Fix glossary tooltip mismatch (#14227)

pull/14240/head
Seokho 2019-05-09 05:18:36 +09:00 committed by Kubernetes Prow Robot
parent 78b93d7709
commit 017a224473
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@
{{- if not $glossary_items -}} {{- if not $glossary_items -}}
{{- errorf "[%s] No glossary items found" site.Language.Lang -}} {{- errorf "[%s] No glossary items found" site.Language.Lang -}}
{{- else -}} {{- else -}}
{{- $term_info := $glossary_items.GetMatch (printf "%s*" $id ) -}} {{- $term_info := $glossary_items.GetMatch (printf "%s.md" $id ) -}}
{{- if not $term_info -}} {{- if not $term_info -}}
{{- errorf "[%s] %q: %q is not a valid glossary term_id, see ./docs/reference/glossary/* for a full list" site.Language.Lang .Page.Path $id -}} {{- errorf "[%s] %q: %q is not a valid glossary term_id, see ./docs/reference/glossary/* for a full list" site.Language.Lang .Page.Path $id -}}
{{- end }} {{- end }}