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
95d34664
Commit
95d34664
authored
Oct 27, 2016
by
Matt Butcher
Committed by
GitHub
Oct 27, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1466 from technosophos/fix/1439-err-on-failed-download
fix(helm): fail when helm deps are not fetched
parents
87e7e54e
5dfbf7e3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
manager.go
cmd/helm/downloader/manager.go
+4
-4
No files found.
cmd/helm/downloader/manager.go
View file @
95d34664
...
...
@@ -194,15 +194,15 @@ func (m *Manager) downloadAll(deps []*chartutil.Dependency) error {
for
_
,
dep
:=
range
deps
{
fmt
.
Fprintf
(
m
.
Out
,
"Downloading %s from repo %s
\n
"
,
dep
.
Name
,
dep
.
Repository
)
// Any failure to resolve/download a chart should fail:
// https://github.com/kubernetes/helm/issues/1439
churl
,
err
:=
findChartURL
(
dep
.
Name
,
dep
.
Version
,
dep
.
Repository
,
repos
)
if
err
!=
nil
{
fmt
.
Fprintf
(
m
.
Out
,
"WARNING: %s (skipped)"
,
err
)
continue
return
fmt
.
Errorf
(
"could not find %s: %s"
,
churl
,
err
)
}
if
_
,
_
,
err
:=
dl
.
DownloadTo
(
churl
,
""
,
destPath
);
err
!=
nil
{
fmt
.
Fprintf
(
m
.
Out
,
"WARNING: Could not download %s: %s (skipped)"
,
churl
,
err
)
continue
return
fmt
.
Errorf
(
"could not download %s: %s"
,
churl
,
err
)
}
}
return
nil
...
...
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