From bc58daa8ef7c6cd5a169ee0bdde16d9806651315 Mon Sep 17 00:00:00 2001 From: Marian Pritsak Date: Mon, 29 Jan 2018 11:23:55 +0200 Subject: [PATCH] [pfcwd]: Assign different names to executors. (#433) Having executors with same names results in only first being registered. Signed-off-by: marian-pritsak --- orchagent/pfcwdorch.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/orchagent/pfcwdorch.cpp b/orchagent/pfcwdorch.cpp index 63fb6c0acea8..6a1c73c9e908 100644 --- a/orchagent/pfcwdorch.cpp +++ b/orchagent/pfcwdorch.cpp @@ -35,7 +35,7 @@ PfcWdOrch::PfcWdOrch(DBConnector *db, vectorstart(); } @@ -509,7 +509,7 @@ PfcWdSwOrch::PfcWdSwOrch( PfcWdSwOrch::getCountersDb().get(), "PFC_WD"); auto wdNotification = new Notifier(consumer, this); - Orch::addExecutor("", wdNotification); + Orch::addExecutor("PFC_WD", wdNotification); } template