refactor: further simplify fastdp initialisation
This commit is contained in:
1 parent
13f37edb64
commit
0ee22af32d
2 files changed
+6
-17
No files matched your search
+1
-5
@@ -169,11 +169,7 @@ func main() {
|
||||
// options can override that below. Even if both
|
||||
// things are overridden, we might need bridging on
|
||||
// the datapath.
|
||||
fastdp, err := weave.NewFastDatapath(weave.FastDatapathConfig{
|
||||
DatapathName: datapathName,
|
||||
Port: config.Port,
|
||||
})
|
||||
|
||||
fastdp, err := weave.NewFastDatapath(datapathName, config.Port)
|
||||
checkFatal(err)
|
||||
networkConfig.Bridge = fastdp.Bridge()
|
||||
overlays.Add("fastdp", fastdp.Overlay())
|
||||
|
||||
Reference in new issue
Block a user