From 415e3ce9db70ba979dd156fae6934f0706df4a8e Mon Sep 17 00:00:00 2001 From: Jesse Simpson Date: Thu, 22 Feb 2024 08:59:20 -0500 Subject: [PATCH] fix: added an empty string check to val Signed-off-by: Jesse Simpson --- pkg/chart/v2/util/coalesce.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/chart/v2/util/coalesce.go b/pkg/chart/v2/util/coalesce.go index 9699faf75..d5d163c5e 100644 --- a/pkg/chart/v2/util/coalesce.go +++ b/pkg/chart/v2/util/coalesce.go @@ -300,7 +300,7 @@ func coalesceTablesFullKey(printf printFn, dst, src map[string]interface{}, pref } else { printf("warning: cannot overwrite table with non table for %s (%v)", fullkey, val) } - } else if istable(dv) && val != nil && len(dv.(map[string]interface{})) > 0 { + } else if istable(dv) && val != nil && val != "" && len(dv.(map[string]interface{})) > 0 { printf("warning: destination for %s is a table. Ignoring non-table value (%v)", fullkey, val) } }