Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Helm
Commits
ba402077
Unverified
Commit
ba402077
authored
3 years ago
by
Scott Rigby
Browse files
Options
Download
Email Patches
Plain Diff
Fix linting
Signed-off-by:
Scott Rigby
<
scott@r6by.com
>
parent
4d50526a
main
dependabot/go_modules/k8s.io/apiserver-0.23.3
dependabot/go_modules/k8s.io/klog/v2-2.40.1
release-3.8
v3.8.0
v3.8.0-rc.2
v3.8.0-rc.1
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
pkg/downloader/chart_downloader.go
+2
-2
pkg/downloader/chart_downloader.go
with
2 additions
and
2 deletions
+2
-2
pkg/downloader/chart_downloader.go
+
2
-
2
View file @
ba402077
...
...
@@ -139,7 +139,7 @@ func (c *ChartDownloader) DownloadTo(ref, version, dest string) (string, *proven
return
destfile
,
ver
,
nil
}
func
(
c
*
ChartDownloader
)
getOciU
ri
(
ref
,
version
string
,
u
*
url
.
URL
)
(
*
url
.
URL
,
error
)
{
func
(
c
*
ChartDownloader
)
getOciU
RI
(
ref
,
version
string
,
u
*
url
.
URL
)
(
*
url
.
URL
,
error
)
{
// Retrieve list of repository tags
tags
,
err
:=
c
.
RegistryClient
.
Tags
(
ref
)
if
err
!=
nil
{
...
...
@@ -189,7 +189,7 @@ func (c *ChartDownloader) ResolveChartVersion(ref, version string) (*url.URL, er
}
if
registry
.
IsOCI
(
u
.
Path
)
{
return
c
.
getOciU
ri
(
ref
,
version
,
u
)
return
c
.
getOciU
RI
(
ref
,
version
,
u
)
}
rf
,
err
:=
loadRepoConfig
(
c
.
RepositoryConfig
)
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help