fix(helm): fix golint warnings on HttpGetter type and SetCredentials method missing a comment

Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
pull/3756/head
Arash Deshmeh 8 years ago
parent 3e2672ff1b
commit e11afcacc9

@ -27,13 +27,15 @@ import (
"k8s.io/helm/pkg/version"
)
//httpGetter is the efault HTTP(/S) backend handler
type HttpGetter struct {
//HttpGetter is the efault HTTP(/S) backend handler
// TODO: change the name to HTTPGetter in Helm 3
type HttpGetter struct { //nolint
client *http.Client
username string
password string
}
//SetCredentials sets the credentials for the getter
func (g *HttpGetter) SetCredentials(username, password string) {
g.username = username
g.password = password

Loading…
Cancel
Save