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
62eb4f3a
Commit
62eb4f3a
authored
Jun 28, 2016
by
Matt Butcher
Committed by
GitHub
Jun 28, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #904 from technosophos/fix/895-show-nonexistent-filename
fix(helm): show correct filename on error
parents
2eada264
64d90aa5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
install.go
cmd/helm/install.go
+3
-2
No files found.
cmd/helm/install.go
View file @
62eb4f3a
...
...
@@ -135,6 +135,7 @@ func locateChartPath(name string) (string, error) {
}
// Try fetching the chart from a remote repo into a tmpdir
origname
:=
name
if
filepath
.
Ext
(
name
)
!=
".tgz"
{
name
+=
".tgz"
}
...
...
@@ -143,9 +144,9 @@ func locateChartPath(name string) (string, error) {
if
err
!=
nil
{
return
lname
,
err
}
fmt
.
Printf
(
"Fetched %s to %s
\n
"
,
name
,
lname
)
fmt
.
Printf
(
"Fetched %s to %s
\n
"
,
orig
name
,
lname
)
return
lname
,
nil
}
return
name
,
fmt
.
Errorf
(
"file %q not found"
,
name
)
return
name
,
fmt
.
Errorf
(
"file %q not found"
,
orig
name
)
}
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