dubeejw commented on a change in pull request #2334: Added --last Activation
Flag
URL:
https://github.com/apache/incubator-openwhisk/pull/2334#discussion_r120992347
##########
File path: tools/cli/go-whisk-cli/commands/activation.go
##########
@@ -176,7 +179,11 @@ var activationLogsCmd = &cobra.Command{
SilenceErrors: true,
PreRunE: setupClientConfig,
RunE: func(cmd *cobra.Command, args []string) error {
+ args, lerr := lastFlag(args)
+ if lerr != nil {
Review comment:
Use `if args, err = lastFlag(args); err != nil {` for all of these.
----------------------------------------------------------------
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