diff --git a/pkg/repo/repo.go b/pkg/repo/repo.go index f8b4267f4..c4ed13c52 100644 --- a/pkg/repo/repo.go +++ b/pkg/repo/repo.go @@ -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) } }