From 2cb66613408a15d046d49a3a0031793e2c925344 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arturo=20Filast=C3=B2?= Date: Tue, 7 Jan 2020 16:42:04 +0200 Subject: [PATCH] Fix typo --- nettests/psiphon.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nettests/psiphon.go b/nettests/psiphon.go index 8459831..228a7ba 100644 --- a/nettests/psiphon.go +++ b/nettests/psiphon.go @@ -30,12 +30,12 @@ func (h Psiphon) GetTestKeys(tk map[string]interface{}) (interface{}, error) { testKeys := PsiphonTestKeys{IsAnomaly: false, Failure: ""} if tk["failure"] != nil { testKeys.IsAnomaly = true - testKeys.Failure, ok = tk["failure"].(string) + testKeys.Failure, ok := tk["failure"].(string) if !ok { err = errors.Wrap(err, "failure key invalid") } } - testKeys.BootstrapTime, ok = tk["bootstrap_time"].(float64) + testKeys.BootstrapTime, ok := tk["bootstrap_time"].(float64) if !ok { err = errors.Wrap(err, "bootstrap_time key invalid") }