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
c0de9b4a
Commit
c0de9b4a
authored
Aug 04, 2016
by
Yusuke Kuoka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Check for the tgz extension while collecting chart paths
parent
19a7127c
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 @
c0de9b4a
...
...
@@ -98,8 +98,7 @@ func LoadChartRepository(dir, url string) (*ChartRepository, error) {
return
nil
}
r
.
IndexFile
=
i
}
else
{
// TODO: check for tgz extension
}
else
if
strings
.
HasSuffix
(
f
.
Name
(),
".tgz"
)
{
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