You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2019/10/05 03:11:03 UTC
[GitHub] [openwhisk] AkimitsuTosha opened a new issue #4673: action can be
deleted with wsk trigger delete
AkimitsuTosha opened a new issue #4673: action can be deleted with wsk trigger delete
URL: https://github.com/apache/openwhisk/issues/4673
## Environment details:
* local deployment
## Steps to reproduce the issue:
1. `wsk action create hello_action hello.js`
2. `wsk trigger delete hello_action`
## Provide the expected results and outputs:
I expect the following behavior
```
$ wsk trigger delete hello_action
error: Unable to delete action 'hello_action': Resource by this name exists but is not in this collection. (code xxx)\
```
## Provide the actual results and outputs:
The action can be deleted with `wsk trigger delete`.
here is the demo commands:
```
$ wsk action create hello_action hello.js
ok: created action hello_action
# can delete the action with wsk trigger delete
$ wsk trigger delete hello_action
ok: deleted trigger hello_action
$ wsk trigger create hello_trigger
ok: created trigger hello_trigger
# triggers cannot be deleted with wsk action delete
$ wsk action delete hello_trigger
error: Unable to delete action 'hello_trigger': Resource by this name exists but is not in this collection. (code xxx)\
```
## Additional information you deem important:
triggers cannot be deleted with `wsk action delete`
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services