aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2018-07-27 19:45:11 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2018-08-02 16:50:49 +0200
commit9de89469c4aaba827617a8775c656a4a9e7ac973 (patch)
treef38cc90641e250cd966b16980ae3ecd99a12335f
parent121ac1676034f10454190638c2590014dff3941c (diff)
Only process event coming from monitor api
Processing both event coming from the wanted api and from monitor (which gave the same event but with more informations) leads to unexpected behavior since you can't know which event's data has been registered so data structure changes and can't be asserted. Change-Id: Ifb32c9fdb3b6cc061d0fe5e8d1e5481d51e8d886 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
-rw-r--r--conf.d/controller/lua.d/aft.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/conf.d/controller/lua.d/aft.lua b/conf.d/controller/lua.d/aft.lua
index 4161183..1e0109b 100644
--- a/conf.d/controller/lua.d/aft.lua
+++ b/conf.d/controller/lua.d/aft.lua
@@ -151,8 +151,8 @@ function _evt_catcher_(source, action, eventObj)
if eventObj.type == "event" then
_AFT.bindingEventHandler(eventObj)
end
- else
- _AFT.bindingEventHandler(eventObj, uid)
+ --else
+ -- _AFT.bindingEventHandler(eventObj, uid)
end
end