From b8734a173ec079e9ec181b03bee44bebae8e9c2e Mon Sep 17 00:00:00 2001 From: Matt Tucker Date: Wed, 1 Nov 2017 16:44:38 -0600 Subject: [PATCH] fix(docs): fix code comment for ReuseValues() --- pkg/helm/option.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/helm/option.go b/pkg/helm/option.go index 2b30cd3c5..387247b86 100644 --- a/pkg/helm/option.go +++ b/pkg/helm/option.go @@ -348,7 +348,8 @@ func ResetValues(reset bool) UpdateOption { } } -// ReuseValues will (if true) trigger resetting the values to their original state. +// ReuseValues will cause Tiller to reuse the values from the last release. +// This is ignored if ResetValues is true. func ReuseValues(reuse bool) UpdateOption { return func(opts *options) { opts.reuseValues = reuse