Merge pull request #1023 from mumoshu/check-tgz-extension

Check for the tgz extension while collecting chart paths
pull/1008/merge
Michelle Noorali 9 years ago committed by GitHub
commit 584245eadf

@ -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)
} }
} }

Loading…
Cancel
Save