diff options
author | Phil Davis <phil@jankaritech.com> | 2020-12-16 16:56:32 +0545 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-16 12:11:32 +0100 |
commit | 04b89857e104ac7dcbf9fc65d8d4f1a1178123e6 (patch) | |
tree | 585bf761f0a1cfc69dffcd8afd22e94ca9da7c07 /tpl/compare | |
parent | 21fa1e86f2aa929fb0983a0cc3dc4e271ea1cc54 (diff) |
all: Fix minor typos
Diffstat (limited to 'tpl/compare')
-rw-r--r-- | tpl/compare/compare.go | 2 |
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 |