From 98bfa44f5ac00aebc391b9c17f182892cf383b68 Mon Sep 17 00:00:00 2001 From: Rahul Date: Tue, 22 Aug 2023 13:23:47 +0530 Subject: [PATCH] chore: init bool variable (#2319) --- cmd/poller/poller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/poller/poller.go b/cmd/poller/poller.go index 9f95d0cb6..7c7eb490e 100644 --- a/cmd/poller/poller.go +++ b/cmd/poller/poller.go @@ -136,7 +136,7 @@ func (p *Poller) Init() error { p.name = args.Poller var fileLoggingEnabled bool - consoleLoggingEnabled := false + var consoleLoggingEnabled bool zeroLogLevel := logging.GetZerologLevel(p.options.LogLevel) // if we are daemon, use file logging if p.options.Daemon {