You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2017/11/08 15:16:07 UTC

[GitHub] mrutkows closed pull request #639: Fixes #331 Delete dead code - manifestreader.go

mrutkows closed pull request #639: Fixes #331 Delete dead code - manifestreader.go
URL: https://github.com/apache/incubator-openwhisk-wskdeploy/pull/639
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/deployers/manifestreader.go b/deployers/manifestreader.go
index 6fc6369..2003d33 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)
-	}
-}


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services