You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by gi...@git.apache.org on 2017/07/06 17:01:17 UTC

[GitHub] dubeejw commented on a change in pull request #2458: wsk CLI should tolerate APIs that do not yet have a mapped action

dubeejw commented on a change in pull request #2458: wsk CLI should tolerate APIs that do not yet have a mapped action
URL: https://github.com/apache/incubator-openwhisk/pull/2458#discussion_r125957257
 
 

 ##########
 File path: tools/cli/go-whisk-cli/commands/api.go
 ##########
 @@ -1218,7 +1231,9 @@ func printFilteredListApiV2(resultApi *whisk.RetApiV2, apiPath string, apiVerb s
                     if ( len(apiVerb) == 0 || strings.ToLower(op) == strings.ToLower(apiVerb)) {
                         whisk.Debug(whisk.DbgInfo, "printFilteredListApiV2: operation matches: %#v\n", opv)
                         var actionName string
-                        if (len(opv.XOpenWhisk.Package) > 0) {
+                        if (opv.XOpenWhisk == nil) {
 
 Review comment:
   Is there a test for the list functions for when the action name is not set?
 
----------------------------------------------------------------
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