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 3cce36d  Fixes Delete dead code - deployer_parser.go #324 (#641)
3cce36d is described below

commit 3cce36da78a0c97e2578f571483adbc86f33bf23
Author: Manjiri Tapaswi <mptap...@ncsu.edu>
AuthorDate: Wed Nov 8 09:28:06 2017 -0800

    Fixes Delete dead code - deployer_parser.go #324 (#641)
    
    * Fixes Delete dead code - deployer_parser.go #324
    
    * Removed unused import: fmt
---
 parsers/deploy_parser.go | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/parsers/deploy_parser.go b/parsers/deploy_parser.go
index 9e57528..49c6add 100644
--- a/parsers/deploy_parser.go
+++ b/parsers/deploy_parser.go
@@ -18,7 +18,6 @@
 package parsers
 
 import (
-       "fmt"
        "github.com/apache/incubator-openwhisk-wskdeploy/utils"
        "gopkg.in/yaml.v2"
     "strings"
@@ -32,15 +31,6 @@ func (dm *YAMLParser) unmarshalDeployment(input []byte, 
deploy *YAML) error {
        return nil
 }
 
-func (dm *YAMLParser) MarshalDeployment(deployment *YAML) (output []byte, err 
error) {
-       data, err := yaml.Marshal(deployment)
-       if err != nil {
-               fmt.Printf("err happened during marshal :%v", err)
-               return nil, err
-       }
-       return data, nil
-}
-
 func (dm *YAMLParser) ParseDeployment(deploymentPath string) (*YAML, error) {
        dplyyaml := YAML{}
        content, err := 
new(utils.ContentReader).LocalReader.ReadLocal(deploymentPath)

-- 
To stop receiving notification emails like this one, please contact
['"commits@openwhisk.apache.org" <commits@openwhisk.apache.org>'].

Reply via email to