Skip to content

Commit

Permalink
Typo fix
Browse files Browse the repository at this point in the history
`*/ }}` would cause an error actually, one must use `*/}}` or `*/ -}}`. Not obvious at all.
  • Loading branch information
consideRatio committed Apr 8, 2018
1 parent ae7ce6c commit 3f5e82c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/chart_best_practices/templates.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ Template comments should be used when documenting features of a template, such a
```yaml
{{- /*
mychart.shortname provides a 6 char truncated version of the release name.
*/ }}
*/ -}}
{{ define "mychart.shortname" -}}
{{ .Release.Name | trunc 6 }}
{{- end -}}
Expand Down

0 comments on commit 3f5e82c

Please sign in to comment.