[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.
This commit is contained in:
Simone Basso 2021-11-16 15:57:16 +01:00 committed by GitHub
parent 56d179d88a
commit 0cb535b022
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -189,6 +189,6 @@ func (m Measurer) GetSummaryKeys(measurement *model.Measurement) (interface{}, e
} }
sk.SignalBackendStatus = tk.SignalBackendStatus sk.SignalBackendStatus = tk.SignalBackendStatus
sk.SignalBackendFailure = tk.SignalBackendFailure sk.SignalBackendFailure = tk.SignalBackendFailure
sk.IsAnomaly = tk.SignalBackendStatus == "blocking" sk.IsAnomaly = tk.SignalBackendStatus == "blocked"
return sk, nil return sk, nil
} }