mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
bridge: fix lint issue
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
This commit is contained in:
parent
4ce05845db
commit
67ecbba4ff
1 changed files with 1 additions and 5 deletions
|
@ -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
|
// Install the rules to isolate this network against each of the other networks
|
||||||
if err := setINC(thisConfig.BridgeName, enable); err != nil {
|
return setINC(thisConfig.BridgeName, enable)
|
||||||
return err
|
|
||||||
}
|
|
||||||
|
|
||||||
return nil
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (d *driver) configure(option map[string]interface{}) error {
|
func (d *driver) configure(option map[string]interface{}) error {
|
||||||
|
|
Loading…
Add table
Reference in a new issue