ref(chart): fix comments

pull/417/head
Michelle Noorali 9 years ago
parent 55525696c9
commit d1285e80ef

@ -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.

Loading…
Cancel
Save