From 6558fad33fc9f16b0485d82b71515baf564a7747 Mon Sep 17 00:00:00 2001 From: Aleksandr Matsko <90016901+AleksandrMatsko@users.noreply.github.com> Date: Thu, 18 Jul 2024 16:41:38 +0700 Subject: [PATCH] hotfix(notifier): check for adding vals to log (#1057) --- notifier/notifier.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notifier/notifier.go b/notifier/notifier.go index cd81a20d6..6dd11c0bc 100644 --- a/notifier/notifier.go +++ b/notifier/notifier.go @@ -219,7 +219,7 @@ func (notifier *StandardNotifier) runSender(sender moira.Sender, ch chan Notific } logEvent := log.Info() - if plots == nil { + if plots != nil { logEvent.Int64(moira.LogFieldNamePlotsBuildDuration, plotsBuildDuration) } logEvent.