From 0cb535b022a6c768078071e15ef2029b56cc5c37 Mon Sep 17 00:00:00 2001 From: Simone Basso Date: Tue, 16 Nov 2021 15:57:16 +0100 Subject: [PATCH] [forwardport] fix(signal): use the correct string to score a measurement (#602) (#603) This diff forwardports 3b1cc1b6afbc29fbc9ff8221d2cd84f34032df60. Original commit message: - - - See https://github.com/ooni/probe/issues/1858#issuecomment-970322363 This diff will need forward porting to master. --- internal/engine/experiment/signal/signal.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/engine/experiment/signal/signal.go b/internal/engine/experiment/signal/signal.go index e158299..a13f73d 100644 --- a/internal/engine/experiment/signal/signal.go +++ b/internal/engine/experiment/signal/signal.go @@ -189,6 +189,6 @@ func (m Measurer) GetSummaryKeys(measurement *model.Measurement) (interface{}, e } sk.SignalBackendStatus = tk.SignalBackendStatus sk.SignalBackendFailure = tk.SignalBackendFailure - sk.IsAnomaly = tk.SignalBackendStatus == "blocking" + sk.IsAnomaly = tk.SignalBackendStatus == "blocked" return sk, nil }