Skip to content
This repository has been archived by the owner on Apr 25, 2023. It is now read-only.

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
Signed-off-by: Scott Rigby <scott@r6by.com>
  • Loading branch information
scottrigby committed Jan 12, 2022
1 parent 4d50526 commit ba40207
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/downloader/chart_downloader.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ func (c *ChartDownloader) DownloadTo(ref, version, dest string) (string, *proven
return destfile, ver, nil
}

func (c *ChartDownloader) getOciUri(ref, version string, u *url.URL) (*url.URL, error) {
func (c *ChartDownloader) getOciURI(ref, version string, u *url.URL) (*url.URL, error) {
// Retrieve list of repository tags
tags, err := c.RegistryClient.Tags(ref)
if err != nil {
Expand Down Expand Up @@ -189,7 +189,7 @@ func (c *ChartDownloader) ResolveChartVersion(ref, version string) (*url.URL, er
}

if registry.IsOCI(u.Path) {
return c.getOciUri(ref, version, u)
return c.getOciURI(ref, version, u)
}

rf, err := loadRepoConfig(c.RepositoryConfig)
Expand Down

0 comments on commit ba40207

Please sign in to comment.