fix: removed inaccurate comment

Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
pull/7937/head
Matt Butcher 6 years ago
parent 7b89e66e0c
commit 39dbb301ed
No known key found for this signature in database
GPG Key ID: DCD5F5E5EF32C345

@ -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