fix: removed inaccurate comment (#7937)

Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
Signed-off-by: Matheus Hunsche <matheus.hunsche@ifood.com.br>
pull/8840/head
Matt Butcher 6 years ago committed by Matheus Hunsche
parent 590cbe2bd7
commit 1ba6af5ef2

@ -35,8 +35,6 @@ import (
// - A chart has access to all of the variables for it, as well as all of // - A chart has access to all of the variables for it, as well as all of
// the values destined for its dependencies. // the values destined for its dependencies.
func CoalesceValues(chrt *chart.Chart, vals map[string]interface{}) (Values, error) { func CoalesceValues(chrt *chart.Chart, vals map[string]interface{}) (Values, error) {
// create a copy of vals and then pass it to coalesce
// and coalesceDeps, as both will mutate the passed values
v, err := copystructure.Copy(vals) v, err := copystructure.Copy(vals)
if err != nil { if err != nil {
return vals, err return vals, err

Loading…
Cancel
Save