You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by gi...@git.apache.org on 2017/06/20 14:57:40 UTC

[GitHub] zachschultz commented on issue #1840: Updating a rule changes its status to inactive

zachschultz commented on issue #1840: Updating a rule changes its status to inactive
URL: https://github.com/apache/incubator-openwhisk/issues/1840#issuecomment-309784645
 
 
   Running `wsk rule update <ruleName> <trigger> <action> -v` shows a PUT request with the body: `{{"name":"<rule>","status":"","trigger":"/_/<trigger>","action":"/_/<action>"}}`
   
   Even after changing the CLI to send `status: active`, Scala will still return a response that contains an "active" status rule
   
   It looks like here: https://github.com/apache/incubator-openwhisk/blob/master/core/controller/src/main/scala/whisk/core/controller/Rules.scala#L85
   that no matter what the status actually is, we just send back an active status in the response, even though that may not be the actual status of the rule.
 
----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services