diff --git a/pkg/net/net_linux_test.go b/pkg/net/net_linux_test.go index f53e8f9..6da777e 100644 --- a/pkg/net/net_linux_test.go +++ b/pkg/net/net_linux_test.go @@ -97,12 +97,12 @@ func TestParseNicAttrEthtool(t *testing.T) { Link detected: yes `, expected: []*NICCapability{ - &NICCapability{ + { Name: "auto-negotiation", IsEnabled: true, CanEnable: true, }, - &NICCapability{ + { Name: "pause-frame-use", IsEnabled: false, CanEnable: false,