Skip to content

Commit

Permalink
Fixes Rename Marshal to marshal #320 (#643)
Browse files Browse the repository at this point in the history
  • Loading branch information
mptap authored and mrutkows committed Nov 8, 2017
1 parent 3cce36d commit ab36af9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions parsers/manifest_parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func ReadOrCreateManifest() (*YAML, error) {

// Serialize manifest to local file
func Write(manifest *YAML, filename string) error {
output, err := NewYAMLParser().Marshal(manifest)
output, err := NewYAMLParser().marshal(manifest)
if err != nil {
return utils.NewYAMLFormatError(err.Error())
}
Expand All @@ -72,7 +72,7 @@ func (dm *YAMLParser) Unmarshal(input []byte, manifest *YAML) error {
return nil
}

func (dm *YAMLParser) Marshal(manifest *YAML) (output []byte, err error) {
func (dm *YAMLParser) marshal(manifest *YAML) (output []byte, err error) {
data, err := yaml.Marshal(manifest)
if err != nil {
fmt.Printf("err happened during marshal :%v", err)
Expand Down

0 comments on commit ab36af9

Please sign in to comment.