From d1424f6c08ce1eb11c2958ca832e7d937d5c8fd9 Mon Sep 17 00:00:00 2001 From: Justin Scott Date: Tue, 14 Mar 2017 14:50:49 -0700 Subject: [PATCH] Handle missed error and make error messages unique --- pkg/chartutil/requirements.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkg/chartutil/requirements.go b/pkg/chartutil/requirements.go index 326afb36c..5ca475241 100644 --- a/pkg/chartutil/requirements.go +++ b/pkg/chartutil/requirements.go @@ -316,6 +316,9 @@ func processImportValues(c *chart.Chart, v *chart.Config) error { return nil } cvals, err := CoalesceValues(c, v) + if err != nil { + log.Fatalf("Error coalescing values for ImportValues %s", err) + } nv := v.GetValues() b := make(map[string]interface{}) for kk, v3 := range nv { @@ -369,7 +372,7 @@ func processImportValues(c *chart.Chart, v *chart.Config) error { cv, err := coalesceValues(c, b) if err != nil { - log.Fatalf("Error coalescing values for ImportValues %s", err) + log.Fatalf("Error coalescing processed values for ImportValues %s", err) } y, err := yaml.Marshal(cv) if err != nil {