Cleanup old todo, unused log and value for ImportValues feature

pull/2112/head
Justin Scott 8 years ago
parent d1424f6c08
commit 2bd4d1d003

@ -328,7 +328,7 @@ func processImportValues(c *chart.Chart, v *chart.Config) error {
if len(r.ImportValues) > 0 { if len(r.ImportValues) > 0 {
var outiv []interface{} var outiv []interface{}
for _, riv := range r.ImportValues { for _, riv := range r.ImportValues {
switch tr := riv.(type) { switch riv.(type) {
case map[string]interface{}: case map[string]interface{}:
if m, ok := riv.(map[string]interface{}); ok { if m, ok := riv.(map[string]interface{}); ok {
nm := make(map[string]string) nm := make(map[string]string)
@ -350,8 +350,6 @@ func processImportValues(c *chart.Chart, v *chart.Config) error {
} }
} }
case string: case string:
log.Printf("its a string %v", tr)
// todo validation
nm := make(map[string]string) nm := make(map[string]string)
nm["child"] = riv.(string) nm["child"] = riv.(string)
nm["parent"] = "." nm["parent"] = "."

Loading…
Cancel
Save