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
2b2e1d59
Commit
2b2e1d59
authored
Oct 26, 2016
by
Vic Iglesias
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Simplify final logic block in create
parent
06d9ccd0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
create.go
pkg/chartutil/create.go
+1
-4
No files found.
pkg/chartutil/create.go
View file @
2b2e1d59
...
@@ -249,8 +249,5 @@ func Create(chartfile *chart.Metadata, dir string) (string, error) {
...
@@ -249,8 +249,5 @@ func Create(chartfile *chart.Metadata, dir string) (string, error) {
// Write out _helpers.tpl
// Write out _helpers.tpl
val
=
[]
byte
(
defaultHelpers
)
val
=
[]
byte
(
defaultHelpers
)
if
err
:=
ioutil
.
WriteFile
(
filepath
.
Join
(
cdir
,
TemplatesDir
,
HelpersName
),
val
,
0644
);
err
!=
nil
{
return
cdir
,
ioutil
.
WriteFile
(
filepath
.
Join
(
cdir
,
TemplatesDir
,
HelpersName
),
val
,
0644
)
return
cdir
,
err
}
return
cdir
,
nil
}
}
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