Skip to content

Commit

Permalink
Fix glossary tooltip mismatch (kubernetes#14227)
Browse files Browse the repository at this point in the history
  • Loading branch information
seokho-son authored and k8s-ci-robot committed May 8, 2019
1 parent 78b93d7 commit 017a224
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/shortcodes/glossary_tooltip.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
{{- if not $glossary_items -}}
{{- errorf "[%s] No glossary items found" site.Language.Lang -}}
{{- else -}}
{{- $term_info := $glossary_items.GetMatch (printf "%s*" $id ) -}}
{{- $term_info := $glossary_items.GetMatch (printf "%s.md" $id ) -}}
{{- 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 -}}
{{- end }}
Expand Down

0 comments on commit 017a224

Please sign in to comment.