bpoole16 commented on a change in pull request #2334: Added --last Activation 
Flag 
URL: 
https://github.com/apache/incubator-openwhisk/pull/2334#discussion_r121483346
 
 

 ##########
 File path: tools/cli/go-whisk-cli/commands/activation.go
 ##########
 @@ -254,12 +255,17 @@ func lastFlag(args []string) ([]string, error) {
     }
 
     if len(activations) == 0 {
-      whiskErr := whisk.MakeWskError(errors.New("No activations found"), 
whisk.EXITCODE_ERR_GENERAL, whisk.DISPLAY_MSG, whisk.DISPLAY_USAGE)
+      errStr := fmt.Sprintf("%s%s %s %s", 
"clinet.Activation.",funcName,"error:", "No activations found")
 
 Review comment:
   Would something like "Activation list contains no activations" be more 
clear? This is simply checking to see if they have any activations and if not 
alerting the user that they don't. 
 
----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to