From 28d46246927b0c8038e02de08036e1cd3f605eeb Mon Sep 17 00:00:00 2001
From: Michelle Noorali <michellemolu@gmail.com>
Date: Mon, 21 Mar 2016 09:57:00 -0600
Subject: [PATCH] ref(*): fix comment style

---
 pkg/chart/chart.go | 3 ++-
 pkg/repo/types.go  | 4 ++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/pkg/chart/chart.go b/pkg/chart/chart.go
index a429fd3b7..5f8819437 100644
--- a/pkg/chart/chart.go
+++ b/pkg/chart/chart.go
@@ -267,6 +267,7 @@ func Load(archive string) (*Chart, error) {
 	return LoadDataFromReader(raw)
 }
 
+// LoadDataFromReader loads a chart a reader
 func LoadDataFromReader(r io.Reader) (*Chart, error) {
 	unzipped, err := gzip.NewReader(r)
 	if err != nil {
@@ -397,7 +398,7 @@ func (c *Chart) loadDirectory(dir string) ([]*ChartMember, error) {
 	return members, nil
 }
 
-// path is from the root of the chart.
+// LoadMember loads a chart member from a given path where path is the root of the chart.
 func (c *Chart) LoadMember(path string) (*ChartMember, error) {
 	filename := filepath.Join(c.loader.dir(), path)
 	return c.loadMember(filename)
diff --git a/pkg/repo/types.go b/pkg/repo/types.go
index 217aa574d..b541c3c65 100644
--- a/pkg/repo/types.go
+++ b/pkg/repo/types.go
@@ -62,9 +62,9 @@ type RepoType string
 type RepoFormat string
 
 const (
-	// PathRepo identfies a repository where charts are organized hierarchically.
+	// PathRepoFormat identfies a repository where charts are organized hierarchically.
 	PathRepoFormat = RepoFormat("path")
-	// FlatRepo identifies a repository where all charts appear at the top level.
+	// FlatRepoFormat identifies a repository where all charts appear at the top level.
 	FlatRepoFormat = RepoFormat("flat")
 )
 
-- 
GitLab