Commit 2bd4d1d0 authored by Justin Scott's avatar Justin Scott

Cleanup old todo, unused log and value for ImportValues feature

parent d1424f6c
...@@ -328,7 +328,7 @@ func processImportValues(c *chart.Chart, v *chart.Config) error { ...@@ -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 { ...@@ -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"] = "."
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment