From c527f01b37363434d6c7b054b5be7bc2b0058e71 Mon Sep 17 00:00:00 2001 From: ashishshinde-pubm <109787960+ashishshinde-pubm@users.noreply.github.com> Date: Mon, 6 Nov 2023 11:06:17 +0530 Subject: [PATCH] OTT-1410: TEMPORARY: removed warning message when module is not enabled (#637) --- hooks/plan.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hooks/plan.go b/hooks/plan.go index d83db2f77c1..042c60708d5 100644 --- a/hooks/plan.go +++ b/hooks/plan.go @@ -3,7 +3,6 @@ package hooks import ( "time" - "github.com/golang/glog" "github.com/prebid/prebid-server/config" "github.com/prebid/prebid-server/hooks/hookstage" ) @@ -209,9 +208,10 @@ func getGroup[T any](getHookFn hookFn[T], cfg config.HookExecutionGroup) Group[T for _, hookCfg := range cfg.HookSequence { if h, ok := getHookFn(hookCfg.ModuleCode); ok { group.Hooks = append(group.Hooks, HookWrapper[T]{Module: hookCfg.ModuleCode, Code: hookCfg.HookImplCode, Hook: h}) - } else { - glog.Warningf("Not found hook while building hook execution plan: %s %s", hookCfg.ModuleCode, hookCfg.HookImplCode) } + // else { + // glog.Warningf("Not found hook while building hook execution plan: %s %s", hookCfg.ModuleCode, hookCfg.HookImplCode) + // } } return group