From 269b5766c16d322289497ef72d3778950aa62f5e Mon Sep 17 00:00:00 2001 From: Scott Rigby Date: Thu, 6 Jul 2017 15:24:12 -0400 Subject: [PATCH] Make switch more terse --- pkg/chartutil/values.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/pkg/chartutil/values.go b/pkg/chartutil/values.go index bceccc61b..75fc6d3b1 100644 --- a/pkg/chartutil/values.go +++ b/pkg/chartutil/values.go @@ -283,10 +283,7 @@ func coalesceValues(c *chart.Chart, v map[string]interface{}) (map[string]interf // remove incompatible keys from any previous chart, file, or set values. // ref: http://www.yaml.org/spec/1.2/spec.html#id2803362 switch val { - case "null": - case "Null": - case "NULL": - case "~": + case "null", "Null", "NULL", "~": delete(v, key) continue }