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
584245ea
Commit
584245ea
authored
Aug 04, 2016
by
Michelle Noorali
Committed by
GitHub
Aug 04, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1023 from mumoshu/check-tgz-extension
Check for the tgz extension while collecting chart paths
parents
7800a3c8
c0de9b4a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
repo.go
pkg/repo/repo.go
+1
-2
No files found.
pkg/repo/repo.go
View file @
584245ea
...
@@ -98,8 +98,7 @@ func LoadChartRepository(dir, url string) (*ChartRepository, error) {
...
@@ -98,8 +98,7 @@ func LoadChartRepository(dir, url string) (*ChartRepository, error) {
return
nil
return
nil
}
}
r
.
IndexFile
=
i
r
.
IndexFile
=
i
}
else
{
}
else
if
strings
.
HasSuffix
(
f
.
Name
(),
".tgz"
)
{
// TODO: check for tgz extension
r
.
ChartPaths
=
append
(
r
.
ChartPaths
,
path
)
r
.
ChartPaths
=
append
(
r
.
ChartPaths
,
path
)
}
}
}
}
...
...
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