aboutsummaryrefslogtreecommitdiffstats
path: root/conf.d/project/lua.d/onload-daemon-10-event.lua
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-08-23 10:57:13 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2018-12-13 15:02:04 +0100
commit57a37d53461a07eebf391f9f3a8b41d7f6fcbdb5 (patch)
tree4b875317fb07ecd733f0b298c2b70b8e1f55f0e2 /conf.d/project/lua.d/onload-daemon-10-event.lua
parent7abfae473d9ecbc7ac5074ef4c443e11852f7c3c (diff)
Format: Remove spaces at EOL
Change-Id: I50bbf17cfa913b40caf0cb6752a902fb626ec1ad Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'conf.d/project/lua.d/onload-daemon-10-event.lua')
-rw-r--r--conf.d/project/lua.d/onload-daemon-10-event.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/conf.d/project/lua.d/onload-daemon-10-event.lua b/conf.d/project/lua.d/onload-daemon-10-event.lua
index c0b21f9..474ebe0 100644
--- a/conf.d/project/lua.d/onload-daemon-10-event.lua
+++ b/conf.d/project/lua.d/onload-daemon-10-event.lua
@@ -45,7 +45,7 @@ function _Simple_Timer_Test (request, client)
-- if event does not exit create it now.
if (_MyContext["event"] == nil) then
_MyContext["event"]= AFB:evtmake(client["label"])
- end
+ end
-- if delay not defined default is 5s
if (client["delay"]==nil) then client["delay"]=5000 end
@@ -67,7 +67,7 @@ function _Simple_Timer_Test (request, client)
-- settimer take a table with delay+count as input (count==0 means infinite)
AFB:timerset (myTimer, "_Timer_Test_CB", context)
- -- nothing special to return send back
+ -- nothing special to return send back
AFB:success (request, myTimer)
return 0