Fixed unnecessary line breaks

pull/2988/head
Michal Cwienczek 8 years ago
parent 415d6324be
commit 7aa590d100

@ -82,7 +82,6 @@ type ChartDownloader struct {
// (if provenance was verified), or an error if something bad happened. // (if provenance was verified), or an error if something bad happened.
func (c *ChartDownloader) DownloadTo(ref, version, dest string) (string, *provenance.Verification, error) { func (c *ChartDownloader) DownloadTo(ref, version, dest string) (string, *provenance.Verification, error) {
u, g, err := c.ResolveChartVersion(ref, version) u, g, err := c.ResolveChartVersion(ref, version)
if err != nil { if err != nil {
return "", nil, err return "", nil, err
} }
@ -212,7 +211,6 @@ func (c *ChartDownloader) ResolveChartVersion(ref, version string) (*url.URL, ge
// TODO: Seems that picking first URL is not fully correct // TODO: Seems that picking first URL is not fully correct
u, err = url.Parse(cv.URLs[0]) u, err = url.Parse(cv.URLs[0])
if err != nil { if err != nil {
return u, r.Client, fmt.Errorf("invalid chart URL format: %s", ref) return u, r.Client, fmt.Errorf("invalid chart URL format: %s", ref)
} }

Loading…
Cancel
Save