Commit d1285e80 authored by Michelle Noorali's avatar Michelle Noorali

ref(chart): fix comments

parent 55525696
......@@ -427,11 +427,13 @@ func (c *Chart) loadMember(filename string) (*Member, error) {
return result, nil
}
//ChartContent is abstraction for the contents of a chart
type ChartContent struct {
Chartfile *Chartfile `json:"chartfile"`
Members []*Member `json:"members"`
}
// LoadContent loads contents of a chart directory into ChartContent
func (c *Chart) LoadContent() (*ChartContent, error) {
ms, err := c.loadDirectory(c.Dir())
if err != nil {
......
......@@ -46,7 +46,7 @@ const (
// GCSPublicRepoName is the name of the public GCS repository.
GCSPublicRepoName = "kubernetes-charts"
// GCSPublicRepoName is the URL for the public GCS repository.
// GCSPublicRepoURL is the URL for the public GCS repository.
GCSPublicRepoURL = "gs://" + GCSPublicRepoName
// GCSPublicRepoBucket is the name of the public GCS repository bucket.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment