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
f3bfca78
Commit
f3bfca78
authored
Mar 29, 2016
by
jackgr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove invalid assertion in expandybird service wrapper
parent
e46a1eb7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
+0
-5
expander.go
cmd/expandybird/expander/expander.go
+0
-5
No files found.
cmd/expandybird/expander/expander.go
View file @
f3bfca78
...
@@ -58,11 +58,6 @@ func (e *expander) ExpandChart(request *expansion.ServiceRequest) (*expansion.Se
...
@@ -58,11 +58,6 @@ func (e *expander) ExpandChart(request *expansion.ServiceRequest) (*expansion.Se
chartFile
:=
request
.
Chart
.
Chartfile
chartFile
:=
request
.
Chart
.
Chartfile
chartMembers
:=
request
.
Chart
.
Members
chartMembers
:=
request
.
Chart
.
Members
if
chartFile
.
Expander
.
Name
!=
"ExpandyBird"
{
message
:=
fmt
.
Sprintf
(
"ExpandyBird cannot do this kind of expansion: "
,
chartFile
.
Expander
.
Name
)
return
nil
,
fmt
.
Errorf
(
"%s: %s"
,
chartInv
.
Name
,
message
)
}
if
e
.
ExpansionBinary
==
""
{
if
e
.
ExpansionBinary
==
""
{
message
:=
fmt
.
Sprintf
(
"expansion binary cannot be empty"
)
message
:=
fmt
.
Sprintf
(
"expansion binary cannot be empty"
)
return
nil
,
fmt
.
Errorf
(
"%s: %s"
,
chartInv
.
Name
,
message
)
return
nil
,
fmt
.
Errorf
(
"%s: %s"
,
chartInv
.
Name
,
message
)
...
...
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