You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by mr...@apache.org on 2017/11/08 21:14:37 UTC
[incubator-openwhisk-wskdeploy] branch master updated: Fixes Rename
Marshal to marshal #320 (#643)
This is an automated email from the ASF dual-hosted git repository.
mrutkowski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk-wskdeploy.git
The following commit(s) were added to refs/heads/master by this push:
new ab36af9 Fixes Rename Marshal to marshal #320 (#643)
ab36af9 is described below
commit ab36af90267cb1d9fba38c0ed1c9e441eb7c77fe
Author: Manjiri Tapaswi <mp...@ncsu.edu>
AuthorDate: Wed Nov 8 13:14:35 2017 -0800
Fixes Rename Marshal to marshal #320 (#643)
---
parsers/manifest_parser.go | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/parsers/manifest_parser.go b/parsers/manifest_parser.go
index 7028831..6999785 100644
--- a/parsers/manifest_parser.go
+++ b/parsers/manifest_parser.go
@@ -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())
}
@@ -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)
--
To stop receiving notification emails like this one, please contact
['"commits@openwhisk.apache.org" <co...@openwhisk.apache.org>'].