summaryrefslogtreecommitdiffstats
path: root/tpl/compare/compare.go
diff options
context:
space:
mode:
Diffstat (limited to 'tpl/compare/compare.go')
-rw-r--r--tpl/compare/compare.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tpl/compare/compare.go b/tpl/compare/compare.go
index 8ce572273..88b18f00c 100644
--- a/tpl/compare/compare.go
+++ b/tpl/compare/compare.go
@@ -43,7 +43,7 @@ type Namespace struct {
func (*Namespace) Default(dflt interface{}, given ...interface{}) (interface{}, error) {
// given is variadic because the following construct will not pass a piped
// argument when the key is missing: {{ index . "key" | default "foo" }}
- // The Go template will complain that we got 1 argument when we expectd 2.
+ // The Go template will complain that we got 1 argument when we expected 2.
if len(given) == 0 {
return dflt, nil