From 25cb2756529531761e42cc6bb247f324cd0bc6a9 Mon Sep 17 00:00:00 2001 From: mphanias Date: Thu, 23 Nov 2023 19:51:20 +0530 Subject: [PATCH] OM96 fixed lint errors --- watcher_latency.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/watcher_latency.go b/watcher_latency.go index 55aa0043..472c82ed 100644 --- a/watcher_latency.go +++ b/watcher_latency.go @@ -62,7 +62,10 @@ func (lw *LatencyWatcher) refresh(o *Observer, infoKeys []string, rawMetrics map // loop all the latency infokeys for ik := range infoKeys { - parseSingleLatenciesKey(infoKeys[ik], rawMetrics, allowedLatenciesList, blockedLatenciessList, ch) + err := parseSingleLatenciesKey(infoKeys[ik], rawMetrics, allowedLatenciesList, blockedLatenciessList, ch) + if err != nil { + return err + } } return nil