Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
H
helm3
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
helm3
Commits
d251b94e
Commit
d251b94e
authored
Oct 02, 2019
by
Abejide Femi
Committed by
Martin Hickey
Oct 02, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactor manager file in pkg folder (#6551)
Signed-off-by:
abejidefemi1@gmail.com
<
abejidefemi1@gmail.com
>
parent
77a7bbb0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
manager.go
pkg/downloader/manager.go
+2
-3
No files found.
pkg/downloader/manager.go
View file @
d251b94e
...
...
@@ -442,8 +442,7 @@ func (m *Manager) UpdateRepositories() error {
if
err
!=
nil
{
return
err
}
repos
:=
rf
.
Repositories
if
len
(
repos
)
>
0
{
if
repos
:=
rf
.
Repositories
;
len
(
repos
)
>
0
{
// This prints warnings straight to out.
if
err
:=
m
.
parallelRepoUpdate
(
repos
);
err
!=
nil
{
return
err
...
...
@@ -616,7 +615,7 @@ func writeLock(chartpath string, lock *chartutil.RequirementsLock) error {
}
// tarFromLocalDir archive a dep chart from local directory and save it into charts/
func
tarFromLocalDir
(
chartpath
string
,
name
string
,
repo
string
,
version
string
)
(
string
,
error
)
{
func
tarFromLocalDir
(
chartpath
,
name
,
repo
,
version
string
)
(
string
,
error
)
{
destPath
:=
filepath
.
Join
(
chartpath
,
"charts"
)
if
!
strings
.
HasPrefix
(
repo
,
"file://"
)
{
...
...
Write
Preview
Markdown
is supported
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