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

 ##########
 File path: tools/cli/go-whisk-cli/commands/activation.go
 ##########
 @@ -114,7 +114,11 @@ var activationGetCmd = &cobra.Command{
     PreRunE: setupClientConfig,
     RunE: func(cmd *cobra.Command, args []string) error {
         var field string
+        var err error
 
+        if args, err = lastFlag(args); err != nil {
+          return err
 
 Review comment:
   @mdeuser, do we want a debug message in each of these if statements stating 
an error occurred?
 
----------------------------------------------------------------
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