go idiom typo

pull/947/head
ngtuna 8 years ago
parent 03e59fd6c0
commit a2d6817b9b

@ -123,8 +123,7 @@ func (r *ChartRepository) Index() error {
r.IndexFile = &IndexFile{Entries: make(map[string]*ChartRef)} r.IndexFile = &IndexFile{Entries: make(map[string]*ChartRef)}
} }
var existCharts map[string]bool existCharts := map[string]bool{}
existCharts = make(map[string]bool)
for _, path := range r.ChartPaths { for _, path := range r.ChartPaths {
ch, err := chartutil.Load(path) ch, err := chartutil.Load(path)

Loading…
Cancel
Save