Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
1105 Внедрение механизмов обеспечения безопасности цепочки поставки программных проектов
Legacy
scanned-projects
helm
Commits
58c004bb
Commit
58c004bb
authored
5 years ago
by
yuxiaobo
Browse files
Options
Download
Patches
Plain Diff
Improve the quality of annotations
Signed-off-by:
yuxiaobo
<
yuxiaobogo@163.com
>
parent
0a488670
release-2.17
dev-v2
release-2.15
release-2.16
v2.17.0
v2.17.0-rc.1
v2.16.12
v2.16.11
v2.16.10
v2.16.9
v2.16.8
v2.16.7
v2.16.6
v2.16.5
v2.16.4
v2.16.3
v2.16.2
v2.16.1
v2.16.0
v2.16.0-rc.2
v2.16.0-rc.1
v2.15.2
v2.15.1
v2.15.0
v2.15.0-rc.2
v2.15.0-rc.1
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
cmd/helm/create.go
+1
-1
cmd/helm/create.go
cmd/helm/search/search.go
+1
-1
cmd/helm/search/search.go
pkg/chartutil/doc.go
+1
-1
pkg/chartutil/doc.go
pkg/releaseutil/filter_test.go
+1
-1
pkg/releaseutil/filter_test.go
with
4 additions
and
4 deletions
+4
-4
cmd/helm/create.go
+
1
−
1
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
}
...
...
This diff is collapsed.
Click to expand it.
cmd/helm/search/search.go
+
1
−
1
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
{}}
}
...
...
This diff is collapsed.
Click to expand it.
pkg/chartutil/doc.go
+
1
−
1
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:
...
...
This diff is collapsed.
Click to expand it.
pkg/releaseutil/filter_test.go
+
1
−
1
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"
)
}
}
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets