openwhisk-cli
openwhisk-cli copied to clipboard
wsk trigger update on a feed trigger calls the feed action again
is this intended new behavior?
wsk trigger create f --feed /whisk.system/utils/echo
i create a trigger with a bogus feed (need to fix #134 seeing the activation result of the feed is annoying enough i might just fix it :)
then wsk trigger update f and wsk trigger get f both call the feed - it's not clear in the first that my trigger was updates, for example to add a parameter that i specified. Further, on the get, I don't see my trigger either.
OK granted this is pathological I called an action as the feed that isn't a feed - but is this the intended behavior especially for the get?
OK from inspecting the CLI code, an update and get are routed to the feed - not the openwhisk API host. That explains the observed results.
see also https://github.com/apache/incubator-openwhisk/pull/3318 for a related CLI change to wsk trigger update to now take the --feed parameter.