swallow the error when returning the default HTTP client

parent c90b0a81
...@@ -183,7 +183,7 @@ func (c *ChartDownloader) ResolveChartVersionAndGetRepo(ref, version string) (*u ...@@ -183,7 +183,7 @@ func (c *ChartDownloader) ResolveChartVersionAndGetRepo(ref, version string) (*u
r := &repo.ChartRepository{} r := &repo.ChartRepository{}
r.Client = g r.Client = g
g.SetCredentials(c.getRepoCredentials(r)) g.SetCredentials(c.getRepoCredentials(r))
return u, r, g, err return u, r, g, nil
} }
return u, nil, nil, err return u, nil, nil, err
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment