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 15:16:06 UTC
[incubator-openwhisk-wskdeploy] branch master updated: Fixes #331
Delete dead code - manifestreader.go (#639)
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 fe8deff Fixes #331 Delete dead code - manifestreader.go (#639)
fe8deff is described below
commit fe8deff405a0eeaec9af92a62e27a816b13e949a
Author: Manjiri Tapaswi <mp...@ncsu.edu>
AuthorDate: Wed Nov 8 07:16:03 2017 -0800
Fixes #331 Delete dead code - manifestreader.go (#639)
* Fixes #331 Delete dead code - manifestreader.go
* remove unused import: fmt
---
deployers/manifestreader.go | 15 ---------------
1 file changed, 15 deletions(-)
diff --git a/deployers/manifestreader.go b/deployers/manifestreader.go
index 7b0eaca..d83a852 100644
--- a/deployers/manifestreader.go
+++ b/deployers/manifestreader.go
@@ -19,7 +19,6 @@ package deployers
import (
"errors"
- "fmt"
"strings"
"github.com/apache/incubator-openwhisk-client-go/whisk"
@@ -372,17 +371,3 @@ func (reader *ManifestReader) SetApis(ar []*whisk.ApiCreateRequest) error {
}
return nil
}
-
-// from whisk go client
-func (deployer *ManifestReader) getQualifiedName(name string, namespace string) string {
- if strings.HasPrefix(name, "/") {
- return name
- } else if strings.HasPrefix(namespace, "/") {
- return fmt.Sprintf("%s/%s", namespace, name)
- } else {
- if len(namespace) == 0 {
- namespace = clientConfig.Namespace
- }
- return fmt.Sprintf("/%s/%s", namespace, name)
- }
-}
--
To stop receiving notification emails like this one, please contact
['"commits@openwhisk.apache.org" <co...@openwhisk.apache.org>'].