Skip to content

Commit

Permalink
fix(style): add missing comments
Browse files Browse the repository at this point in the history
  • Loading branch information
technosophos committed Feb 14, 2017
1 parent 5d909d8 commit 44fbfc4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions pkg/helm/option.go
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions pkg/helm/portforwarder/portforwarder.go
Expand Up @@ -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 {
Expand Down
1 change: 1 addition & 0 deletions pkg/hooks/hooks.go
Expand Up @@ -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")
Expand Down

0 comments on commit 44fbfc4

Please sign in to comment.