fix(helm): invoking getterConstructor returns downstream error now

pull/2999/head
Nandor Kracser 7 years ago
parent 018ef2426f
commit a28e5dd2b3

@ -62,7 +62,7 @@ func NewChartRepository(cfg *Entry, getters getter.Providers) (*ChartRepository,
}
client, err := getterConstructor(cfg.URL, cfg.CertFile, cfg.KeyFile, cfg.CAFile)
if err != nil {
return nil, fmt.Errorf("Could not construct protocol handler for: %s", u.Scheme)
return nil, fmt.Errorf("Could not construct protocol handler for: %s error: %v", u.Scheme, err)
}
return &ChartRepository{

Loading…
Cancel
Save