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
81e09ff1
Commit
81e09ff1
authored
Sep 07, 2017
by
Ryan Payton
Committed by
Christopher A. Stelma
Mar 02, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updating DownloadIndexFile function call to pass in HELM_HOME
parent
89b8312c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
init.go
cmd/helm/init.go
+2
-2
No files found.
cmd/helm/init.go
View file @
81e09ff1
...
...
@@ -362,7 +362,7 @@ func ensureDefaultRepos(home helmpath.Home, out io.Writer, skipRefresh bool) err
if
fi
,
err
:=
os
.
Stat
(
repoFile
);
err
!=
nil
{
fmt
.
Fprintf
(
out
,
"Creating %s
\n
"
,
repoFile
)
f
:=
repo
.
NewRepoFile
()
sr
,
err
:=
initStableRepo
(
home
.
CacheIndex
(
stableRepository
),
out
,
skipRefresh
)
sr
,
err
:=
initStableRepo
(
home
.
CacheIndex
(
stableRepository
),
out
,
skipRefresh
,
home
)
if
err
!=
nil
{
return
err
}
...
...
@@ -381,7 +381,7 @@ func ensureDefaultRepos(home helmpath.Home, out io.Writer, skipRefresh bool) err
return
nil
}
func
initStableRepo
(
cacheFile
string
,
out
io
.
Writer
,
skipRefresh
bool
)
(
*
repo
.
Entry
,
error
)
{
func
initStableRepo
(
cacheFile
string
,
out
io
.
Writer
,
skipRefresh
bool
,
home
helmpath
.
Home
)
(
*
repo
.
Entry
,
error
)
{
fmt
.
Fprintf
(
out
,
"Adding %s repo with URL: %s
\n
"
,
stableRepository
,
stableRepositoryURL
)
c
:=
repo
.
Entry
{
Name
:
stableRepository
,
...
...
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