From 11d5714c14b180e8722195520ba4beaf0ce39ea3 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Tue, 17 Dec 2019 13:34:44 -0500 Subject: [PATCH] spelling: serializer Signed-off-by: Josh Soref --- pkg/chartutil/chartfile.go | 2 +- pkg/chartutil/save.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/chartutil/chartfile.go b/pkg/chartutil/chartfile.go index 756b87cfb..808a902b1 100644 --- a/pkg/chartutil/chartfile.go +++ b/pkg/chartutil/chartfile.go @@ -43,7 +43,7 @@ func LoadChartfile(filename string) (*chart.Metadata, error) { // 'filename' should be the complete path and filename ('foo/Chart.yaml') func SaveChartfile(filename string, cf *chart.Metadata) error { // Pull out the dependencies of a v1 Chart, since there's no way - // to tell the serialiser to skip a field for just this use case + // to tell the serializer to skip a field for just this use case savedDependencies := cf.Dependencies if cf.APIVersion == chart.APIVersionV1 { cf.Dependencies = nil diff --git a/pkg/chartutil/save.go b/pkg/chartutil/save.go index e264c4391..4ab9d3b24 100644 --- a/pkg/chartutil/save.go +++ b/pkg/chartutil/save.go @@ -142,7 +142,7 @@ func writeTarContents(out *tar.Writer, c *chart.Chart, prefix string) error { base := filepath.Join(prefix, c.Name()) // Pull out the dependencies of a v1 Chart, since there's no way - // to tell the serialiser to skip a field for just this use case + // to tell the serializer to skip a field for just this use case savedDependencies := c.Metadata.Dependencies if c.Metadata.APIVersion == chart.APIVersionV1 { c.Metadata.Dependencies = nil