mirror of
https://github.com/daeuniverse/dae.git
synced 2025-01-27 08:00:38 +07:00
chore: suppress useless LinkSubscribe error (#181)
This commit is contained in:
parent
34dfd7adbc
commit
e26a126cba
@ -312,7 +312,7 @@ func (c *controlPlaneCore) addLinkCb(_ifname string, rtmType uint16, cb func())
|
||||
done := make(chan struct{})
|
||||
if e := netlink.LinkSubscribeWithOptions(ch, done, netlink.LinkSubscribeOptions{
|
||||
ErrorCallback: func(err error) {
|
||||
c.log.Warnln("LinkSubscribe:", err)
|
||||
c.log.Debug("LinkSubscribe:", err)
|
||||
},
|
||||
ListExisting: true,
|
||||
}); e != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user