mirror of
https://github.com/helm/helm.git
synced 2026-04-29 02:01:10 -04:00
fix(style): add missing comments
This commit is contained in:
parent
5d909d8c30
commit
44fbfc4263
3 changed files with 3 additions and 0 deletions
|
|
@ -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…
Reference in a new issue