fix(style): add missing comments

pull/1962/head
Matt Butcher 8 years ago
parent 5d909d8c30
commit 44fbfc4263
No known key found for this signature in database
GPG Key ID: DCD5F5E5EF32C345

@ -316,6 +316,7 @@ func UpgradeDryRun(dry bool) UpdateOption {
}
}
// ResetValues will (if true) trigger resetting the values to their original state.
func ResetValues(reset bool) UpdateOption {
return func(opts *options) {
opts.resetValues = reset

@ -28,6 +28,7 @@ import (
"k8s.io/helm/pkg/kube"
)
// New creates a new and initialized tunnel.
func New(namespace string, client *internalclientset.Clientset, config *restclient.Config) (*kube.Tunnel, error) {
podName, err := getTillerPodName(client.Core(), namespace)
if err != nil {

@ -39,6 +39,7 @@ const (
ReleaseTestFailure = "test-failure"
)
// FilterTestHooks filters the list of hooks are returns only testing hooks.
func FilterTestHooks(hooks []*release.Hook) ([]*release.Hook, error) {
testHooks := []*release.Hook{}
notFoundErr := errors.New("no tests found")

Loading…
Cancel
Save