hs-test: fix error check

Type: test
Signed-off-by: Maros Ondrejicka <mondreji@cisco.com>
Change-Id: I445f5357817fceeb9b5ead01c3530edaae45189a
This commit is contained in:
Maros Ondrejicka
2023-03-01 09:43:24 +01:00
committed by Florin Coras
parent 2cc8c0a8db
commit b5c731738f

View File

@ -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
}