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
58c004bb
Commit
58c004bb
authored
Sep 25, 2019
by
yuxiaobo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve the quality of annotations
Signed-off-by:
yuxiaobo
<
yuxiaobogo@163.com
>
parent
0a488670
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
create.go
cmd/helm/create.go
+1
-1
search.go
cmd/helm/search/search.go
+1
-1
doc.go
pkg/chartutil/doc.go
+1
-1
filter_test.go
pkg/releaseutil/filter_test.go
+1
-1
No files found.
cmd/helm/create.go
View file @
58c004bb
...
...
@@ -106,7 +106,7 @@ func (c *createCmd) run() error {
if
c
.
starter
!=
""
{
// Create from the starter
lstarter
:=
filepath
.
Join
(
c
.
home
.
Starters
(),
c
.
starter
)
// If path is absolute, we dont want to prefix it with helm starters folder
// If path is absolute, we don
'
t want to prefix it with helm starters folder
if
filepath
.
IsAbs
(
c
.
starter
)
{
lstarter
=
c
.
starter
}
...
...
cmd/helm/search/search.go
View file @
58c004bb
...
...
@@ -55,7 +55,7 @@ type Index struct {
charts
map
[
string
]
*
repo
.
ChartVersion
}
// NewIndex creats a new Index.
// NewIndex creat
e
s a new Index.
func
NewIndex
()
*
Index
{
return
&
Index
{
lines
:
map
[
string
]
string
{},
charts
:
map
[
string
]
*
repo
.
ChartVersion
{}}
}
...
...
pkg/chartutil/doc.go
View file @
58c004bb
...
...
@@ -17,7 +17,7 @@ limitations under the License.
/*Package chartutil contains tools for working with charts.
Charts are described in the protocol buffer definition (pkg/proto/hapi/charts).
This packe provides utilities for serializing and deserializing charts.
This pack
ag
e provides utilities for serializing and deserializing charts.
A chart can be represented on the file system in one of two ways:
...
...
pkg/releaseutil/filter_test.go
View file @
58c004bb
...
...
@@ -54,6 +54,6 @@ func TestFilterAll(t *testing.T) {
case
r0
.
Version
==
4
:
t
.
Fatal
(
"got release with status revision 4"
)
case
r0
.
Info
.
Status
.
Code
==
rspb
.
Status_DELETED
:
t
.
Fatal
(
"got release with status DELTED"
)
t
.
Fatal
(
"got release with status DEL
E
TED"
)
}
}
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