From: Maros Ondrejicka Date: Wed, 1 Mar 2023 08:43:24 +0000 (+0100) Subject: hs-test: fix error check X-Git-Tag: v23.10-rc0~208 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=b5c731738f65ecb39945c37236340f41e3c74919;p=vpp.git hs-test: fix error check Type: test Signed-off-by: Maros Ondrejicka Change-Id: I445f5357817fceeb9b5ead01c3530edaae45189a --- diff --git a/extras/hs-test/netconfig.go b/extras/hs-test/netconfig.go index f4dce7d262e..5c8613c70a8 100644 --- a/extras/hs-test/netconfig.go +++ b/extras/hs-test/netconfig.go @@ -282,7 +282,7 @@ func (b *NetworkBridge) Unconfigure() { func DelBridge(brName, ns string) error { err := SetDevDown(brName, ns) - if err != err { + if err != nil { return err }