From e11afcacc960f7353df0904860f39ebf96f4d540 Mon Sep 17 00:00:00 2001 From: Arash Deshmeh Date: Sat, 24 Mar 2018 06:34:45 -0400 Subject: [PATCH] fix(helm): fix golint warnings on HttpGetter type and SetCredentials method missing a comment Signed-off-by: Arash Deshmeh --- pkg/getter/httpgetter.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkg/getter/httpgetter.go b/pkg/getter/httpgetter.go index dd462ce5f..3c20e35e1 100644 --- a/pkg/getter/httpgetter.go +++ b/pkg/getter/httpgetter.go @@ -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