removed outter if statement as its not needed now

Signed-off-by: David Pait <DP19@users.noreply.github.com>
pull/7945/head
David Pait 6 years ago committed by Matt Butcher
parent 26869897cc
commit fd54918c2b
No known key found for this signature in database
GPG Key ID: DCD5F5E5EF32C345

@ -176,14 +176,12 @@ func coalesceValues(c *chart.Chart, v map[string]interface{}) {
// dest is considered authoritative.
func CoalesceTables(dst, src map[string]interface{}) map[string]interface{} {
// When --reuse-values is set but there are no modifications yet, return new values
if dst == nil || src == nil {
if src == nil {
return dst
}
if dst == nil {
return src
}
}
// Because dest has higher precedence than src, dest values override src
// values.
for key, val := range src {

Loading…
Cancel
Save