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
458ba8ce
Commit
458ba8ce
authored
Apr 03, 2018
by
Gijs Kunze
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removes unnecessary if block
parent
58e4b6ac
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
+0
-5
install.go
cmd/helm/install.go
+0
-5
No files found.
cmd/helm/install.go
View file @
458ba8ce
...
@@ -313,11 +313,6 @@ func mergeValues(dest map[string]interface{}, src map[string]interface{}) map[st
...
@@ -313,11 +313,6 @@ func mergeValues(dest map[string]interface{}, src map[string]interface{}) map[st
dest
[
k
]
=
v
dest
[
k
]
=
v
continue
continue
}
}
// If the key doesn't exist already, then just set the key to that value
if
_
,
exists
:=
dest
[
k
];
!
exists
{
dest
[
k
]
=
nextMap
continue
}
// Edge case: If the key exists in the destination, but isn't a map
// Edge case: If the key exists in the destination, but isn't a map
destMap
,
isMap
:=
dest
[
k
]
.
(
map
[
string
]
interface
{})
destMap
,
isMap
:=
dest
[
k
]
.
(
map
[
string
]
interface
{})
// If the source map has a map for this key, prefer it
// If the source map has a map for this key, prefer it
...
...
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