Commit 9d8a84ee authored by 陈谭军's avatar 陈谭军 Committed by Martin Hickey

fix-up typo (#6501)

Signed-off-by: 's avatarchentanjun <2799194073@qq.com>
parent 0a488670
...@@ -158,7 +158,7 @@ func TestTemplateCmd(t *testing.T) { ...@@ -158,7 +158,7 @@ func TestTemplateCmd(t *testing.T) {
}, },
{ {
name: "check_invalid_name_template", name: "check_invalid_name_template",
desc: "verify the relase name generate by template is invalid", desc: "verify the release name generate by template is invalid",
args: []string{subchart1ChartPath, "--name-template", "foobar-{{ b64enc \"abc\" }}-baz"}, args: []string{subchart1ChartPath, "--name-template", "foobar-{{ b64enc \"abc\" }}-baz"},
expectError: "is invalid", expectError: "is invalid",
}, },
......
...@@ -122,7 +122,7 @@ func NewFromKeyring(keyringfile, id string) (*Signatory, error) { ...@@ -122,7 +122,7 @@ func NewFromKeyring(keyringfile, id string) (*Signatory, error) {
return s, nil return s, nil
} }
// We're gonna go all GnuPG on this and look for a string that _contains_. If // We're going to go all GnuPG on this and look for a string that _contains_. If
// two or more keys contain the string and none are a direct match, we error // two or more keys contain the string and none are a direct match, we error
// out. // out.
var candidate *openpgp.Entity var candidate *openpgp.Entity
......
...@@ -126,7 +126,7 @@ func (s *ReleaseServer) ListReleases(req *services.ListReleasesRequest, stream s ...@@ -126,7 +126,7 @@ func (s *ReleaseServer) ListReleases(req *services.ListReleasesRequest, stream s
return nil return nil
} }
// partition packs releases into slices upto the capacity cap in bytes. // partition packs releases into slices up to the capacity cap in bytes.
func (s *ReleaseServer) partition(rels []*release.Release, cap int) <-chan []*release.Release { func (s *ReleaseServer) partition(rels []*release.Release, cap int) <-chan []*release.Release {
chunks := make(chan []*release.Release, 1) chunks := make(chan []*release.Release, 1)
go func() { go func() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment