You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by mr...@apache.org on 2017/08/23 15:32:12 UTC

[incubator-openwhisk-wskdeploy] branch master updated: Allow feed trigger update when creating triggers (#377)

This is an automated email from the ASF dual-hosted git repository.

mrutkowski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk-wskdeploy.git


The following commit(s) were added to refs/heads/master by this push:
     new 2664178  Allow feed trigger update when creating triggers (#377)
2664178 is described below

commit 2664178e1f34d60647f1c66e63e7a9869bed7528
Author: Ying Chun Guo <gu...@cn.ibm.com>
AuthorDate: Wed Aug 23 23:32:11 2017 +0800

    Allow feed trigger update when creating triggers (#377)
---
 deployers/servicedeployer.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/deployers/servicedeployer.go b/deployers/servicedeployer.go
index b4b1ae4..1f968ec 100644
--- a/deployers/servicedeployer.go
+++ b/deployers/servicedeployer.go
@@ -412,7 +412,7 @@ func (deployer *ServiceDeployer) createFeedAction(trigger *whisk.Trigger, feedNa
 		Publish:     &pub,
 	}
 
-	_, _, err := deployer.Client.Triggers.Insert(t, false)
+	_, _, err := deployer.Client.Triggers.Insert(t, true)
 	if err != nil {
 		wskErr := err.(*whisk.WskError)
 		log.Printf("Got error creating trigger with error message: %v and error code: %v.\n", wskErr.Error(), wskErr.ExitCode)

-- 
To stop receiving notification emails like this one, please contact
['"commits@openwhisk.apache.org" <co...@openwhisk.apache.org>'].