summaryrefslogtreecommitdiffstats
path: root/extras
diff options
context:
space:
mode:
authorMaros Ondrejicka <mondreji@cisco.com>2023-03-01 09:43:24 +0100
committerFlorin Coras <florin.coras@gmail.com>2023-03-01 16:49:39 +0000
commitb5c731738f65ecb39945c37236340f41e3c74919 (patch)
tree109ef0cae128673f1e14cb9f0c73eba3df3a8a64 /extras
parent2cc8c0a8db227996bd2ee624f480f6674e25b6f0 (diff)
hs-test: fix error check
Type: test Signed-off-by: Maros Ondrejicka <mondreji@cisco.com> Change-Id: I445f5357817fceeb9b5ead01c3530edaae45189a
Diffstat (limited to 'extras')
-rw-r--r--extras/hs-test/netconfig.go2
1 files changed, 1 insertions, 1 deletions
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
}