From c0de9b4adab4767772f80d8b826d61f5417209b5 Mon Sep 17 00:00:00 2001 From: Yusuke Kuoka Date: Thu, 4 Aug 2016 09:45:12 +0900 Subject: [PATCH] Check for the tgz extension while collecting chart paths --- pkg/repo/repo.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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) } }