fix: remove extra logging on ethtool ioctl failures
We should ignore this, it's a totally an optional feature used in containers (Talos on its own kernel has ethtool-netlink). Fixes #9296 Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com> (cherry picked from commit a9269ac7b1217aa2d247c0215c5f2755af468b44)
This commit is contained in:
parent
5eb5ff532d
commit
9e60f17083
@ -210,9 +210,7 @@ func (ctrl *LinkStatusController) reconcile(
|
||||
|
||||
if ethState == nil {
|
||||
state, err := ethtoolIoctlClient.LinkState(link.Attributes.Name)
|
||||
if err != nil {
|
||||
logger.Warn("error querying ethtool ioctl link state", zap.String("link", link.Attributes.Name), zap.Error(err))
|
||||
} else {
|
||||
if err == nil {
|
||||
ethState = ðtool.LinkState{
|
||||
Interface: ethtool.Interface{
|
||||
Index: int(link.Index),
|
||||
|
Loading…
x
Reference in New Issue
Block a user