Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
H
helm3
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
helm3
Commits
9d8a84ee
Commit
9d8a84ee
authored
Sep 25, 2019
by
陈谭军
Committed by
Martin Hickey
Sep 25, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix-up typo (#6501)
Signed-off-by:
chentanjun
<
2799194073@qq.com
>
parent
0a488670
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
template_test.go
cmd/helm/template_test.go
+1
-1
sign.go
pkg/provenance/sign.go
+1
-1
release_list.go
pkg/tiller/release_list.go
+1
-1
No files found.
cmd/helm/template_test.go
View file @
9d8a84ee
...
@@ -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 rel
e
ase 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"
,
},
},
...
...
pkg/provenance/sign.go
View file @
9d8a84ee
...
@@ -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 go
nna
go all GnuPG on this and look for a string that _contains_. If
// We're go
ing 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
...
...
pkg/tiller/release_list.go
View file @
9d8a84ee
...
@@ -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
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment