Provide event name to triggers
Change-Id: Iec063b39a3e3e6a63038a2013f42e8a69ad9fadf
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
diff --git a/control/triggers.cpp b/control/triggers.cpp
index 5662f3f..410732d 100644
--- a/control/triggers.cpp
+++ b/control/triggers.cpp
@@ -14,6 +14,7 @@
Trigger timer(TimerConf&& tConf)
{
return [tConf = std::move(tConf)](control::Zone& zone,
+ const std::string& name,
const Group& group,
const std::vector<Action>& actions)
{
@@ -27,6 +28,7 @@
{
return [match = std::move(match),
handler = std::move(handler)](control::Zone& zone,
+ const std::string& name,
const Group& group,
const std::vector<Action>& actions)
{
@@ -80,6 +82,7 @@
Trigger init(MethodHandler&& handler)
{
return [handler = std::move(handler)](control::Zone& zone,
+ const std::string& name,
const Group& group,
const std::vector<Action>& actions)
{