diff options
author | Filip Tehlar <ftehlar@cisco.com> | 2023-04-28 10:29:47 +0200 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2023-05-20 15:51:02 +0000 |
commit | 608d0069d98579b0635be978dea8e316f77a8841 (patch) | |
tree | da6d23516d9b86818b577e457661c2ae58f7c776 /extras/hs-test/utils.go | |
parent | 47f352710824c373f8130ba632022b47cb27505b (diff) |
hs-test: support for multiple workers
Type: test
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Change-Id: Ie90e4b02c268bc3ca40171b03829f5686fb83162
Diffstat (limited to 'extras/hs-test/utils.go')
-rw-r--r-- | extras/hs-test/utils.go | 2 |
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 } |