mdeuser commented on a change in pull request #2461: Get Action URL from CLI
(Review)
URL:
https://github.com/apache/incubator-openwhisk/pull/2461#discussion_r126002690
##########
File path: tools/cli/go-whisk-cli/commands/action.go
##########
@@ -822,6 +825,18 @@ func printActionGetWithField(entityName string, field
string, action *whisk.Acti
printField(action, field)
}
+func printActionGetWithURL(entityName string, actionURL string) {
+ fmt.Fprintf(
+ color.Output,
+ wski18n.T(
+ "{{.ok}} got action {{.name}}, displaying url\n",
Review comment:
i think using the same `{{.ok}} got action {{.name}}` as before is
sufficient (i.e. no need for the `,displaying url`). the action contents that
follow adhere to whatever filters were specified on the command line - which is
currently just `--url` at the moment, but could be expanded upon in the future.
----------------------------------------------------------------
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