Skip to content

Commit 7f4d115

Browse files
committed
fixup! api: Add SRIOV device names
1 parent bf68e8f commit 7f4d115

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

object/virtual_device_list.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -919,7 +919,7 @@ func (l VirtualDeviceList) Name(device types.BaseVirtualDevice) string {
919919
dtype := l.Type(device)
920920
switch dtype {
921921
case DeviceTypeEthernet:
922-
// Ethernet devices of UnitNumber 7-19 are non-SRIOV. Ethernet devices of
922+
// Ethernet devices of UnitNumber 7-19 are non-SRIOV. Ethernet devices of
923923
// UnitNumber 45-36 descending are SRIOV
924924
if UnitNumber <= 45 && UnitNumber >= 36 {
925925
key = fmt.Sprintf("sriov-%d", 45-UnitNumber)

0 commit comments

Comments
 (0)