fix(chart): change source to sources in chart file

As a carryover from the days when we only allowed one source, the source
field was still labeled 'source' instead of 'sources'. Fixed and updated
all of the tests.
pull/752/head
Matt Butcher 8 years ago
parent e3967e5776
commit ec9b086ac8

@ -30,7 +30,7 @@ type Chartfile struct {
Version string `yaml:"version"`
Keywords []string `yaml:"keywords,omitempty"`
Maintainers []*Maintainer `yaml:"maintainers,omitempty"`
Source []string `yaml:"source,omitempty"`
Source []string `yaml:"sources,omitempty"`
Home string `yaml:"home"`
}

@ -8,6 +8,6 @@ maintainers:
email: helm@example.com
- name: Someone Else
email: nobody@example.com
source:
sources:
- https://example.com/foo/bar
home: http://example.com

Binary file not shown.

@ -10,6 +10,6 @@ maintainers:
email: helm@example.com
- name: Someone Else
email: nobody@example.com
source:
sources:
- https://example.com/foo/bar
home: http://example.com

@ -10,6 +10,4 @@ maintainers:
email: helm@example.com
- name: Someone Else
email: nobody@example.com
source:
- https://example.com/foo/bar
home: http://example.com

Loading…
Cancel
Save