Skip to content

Commit 0cd9f85

Browse files
committed
one each of fec: None and fec: Some(LinkFec::None)
1 parent 5c6e928 commit 0cd9f85

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

cli/tests/test_net.rs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,10 @@ use chrono::prelude::*;
99
use httpmock::MockServer;
1010
use oxide::types::{
1111
AddressLot, AddressLotBlock, AddressLotBlockResultsPage, AddressLotKind, AddressLotResultsPage,
12-
BgpConfig, BgpConfigResultsPage, BgpPeer, ImportExportPolicy, LinkSpeed, NameOrId, SwitchPort,
13-
SwitchPortAddressConfig, SwitchPortConfig, SwitchPortGeometry2, SwitchPortLinkConfig,
14-
SwitchPortResultsPage, SwitchPortRouteConfig, SwitchPortSettings, SwitchPortSettingsView,
12+
BgpConfig, BgpConfigResultsPage, BgpPeer, ImportExportPolicy, LinkFec, LinkSpeed, NameOrId,
13+
SwitchPort, SwitchPortAddressConfig, SwitchPortConfig, SwitchPortGeometry2,
14+
SwitchPortLinkConfig, SwitchPortResultsPage, SwitchPortRouteConfig, SwitchPortSettings,
15+
SwitchPortSettingsView,
1516
};
1617
use oxide_httpmock::MockServerExt;
1718
use uuid::Uuid;
@@ -258,7 +259,7 @@ fn test_port_config() {
258259
link_lldp: Vec::new(),
259260
links: vec![SwitchPortLinkConfig {
260261
autoneg: false,
261-
fec: None,
262+
fec: Some(LinkFec::None),
262263
link_name: String::from("phy0"),
263264
lldp_link_config_id: None,
264265
mtu: 1500,

0 commit comments

Comments
 (0)