hs-test: fix error check
Type: test Signed-off-by: Maros Ondrejicka <mondreji@cisco.com> Change-Id: I445f5357817fceeb9b5ead01c3530edaae45189a
This commit is contained in:

committed by
Florin Coras

parent
2cc8c0a8db
commit
b5c731738f
@ -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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user