bridge: fix lint issue

Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
This commit is contained in:
Akihiro Suda 2018-04-02 15:52:03 +09:00
parent 4ce05845db
commit 67ecbba4ff
1 changed files with 1 additions and 5 deletions

View File

@ -313,11 +313,7 @@ func (n *bridgeNetwork) isolateNetwork(others []*bridgeNetwork, enable bool) err
}
// Install the rules to isolate this network against each of the other networks
if err := setINC(thisConfig.BridgeName, enable); err != nil {
return err
}
return nil
return setINC(thisConfig.BridgeName, enable)
}
func (d *driver) configure(option map[string]interface{}) error {