Skip to content

Commit 44fbfc4

Browse files
committed
fix(style): add missing comments
1 parent 5d909d8 commit 44fbfc4

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

pkg/helm/option.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,7 @@ func UpgradeDryRun(dry bool) UpdateOption {
316316
}
317317
}
318318

319+
// ResetValues will (if true) trigger resetting the values to their original state.
319320
func ResetValues(reset bool) UpdateOption {
320321
return func(opts *options) {
321322
opts.resetValues = reset

pkg/helm/portforwarder/portforwarder.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ import (
2828
"k8s.io/helm/pkg/kube"
2929
)
3030

31+
// New creates a new and initialized tunnel.
3132
func New(namespace string, client *internalclientset.Clientset, config *restclient.Config) (*kube.Tunnel, error) {
3233
podName, err := getTillerPodName(client.Core(), namespace)
3334
if err != nil {

pkg/hooks/hooks.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ const (
3939
ReleaseTestFailure = "test-failure"
4040
)
4141

42+
// FilterTestHooks filters the list of hooks are returns only testing hooks.
4243
func FilterTestHooks(hooks []*release.Hook) ([]*release.Hook, error) {
4344
testHooks := []*release.Hook{}
4445
notFoundErr := errors.New("no tests found")

0 commit comments

Comments
 (0)