dubeejw commented on a change in pull request #2436: API GW V2 updates
URL:
https://github.com/apache/incubator-openwhisk/pull/2436#discussion_r126802743
##########
File path: tools/cli/go-whisk-cli/commands/action.go
##########
@@ -857,7 +857,10 @@ func isWebAction(client *whisk.Client, qname
QualifiedName) error {
if err != nil {
whisk.Debug(whisk.DbgError, "client.Actions.Get(%s) error: %s\n",
fullActionName, err)
whisk.Debug(whisk.DbgError, "Unable to obtain action '%s' for web
action validation\n", fullActionName)
- err = errors.New(wski18n.T("API action '{{.name}}' does not exist",
map[string]interface{}{"name": fullActionName}))
+ errMsg := wski18n.T("Unable to get action '{{.name}}': {{.err}}",
Review comment:
Need to remove reference to `API action` on line 865. Can probably remove
those strings from the externalized strings JSON file.
----------------------------------------------------------------
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