summaryrefslogtreecommitdiffstats
path: root/extras/hs-test/utils.go
diff options
context:
space:
mode:
Diffstat (limited to 'extras/hs-test/utils.go')
-rw-r--r--extras/hs-test/utils.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/hs-test/utils.go b/extras/hs-test/utils.go
index 151567c3fed..4261f4dc2d1 100644
--- a/extras/hs-test/utils.go
+++ b/extras/hs-test/utils.go
@@ -126,7 +126,7 @@ func startWget(finished chan error, server_ip, port, query, netNs string) {
if err != nil {
finished <- fmt.Errorf("wget error: '%v\n\n%s'", err, o)
return
- } else if strings.Contains(string(o), "200 OK") == false {
+ } else if !strings.Contains(string(o), "200 OK") {
finished <- fmt.Errorf("wget error: response not 200 OK")
return
}