aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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
}