Skip to content

Commit 916d4f5

Browse files
committed
Updated exmples of physical slot formats in function description
U78CC.001.FZHAK92-P2-C3 which is exisitng format U50EE.001.WZS0011-P3-C20-R1 which is new format We are maitatining both the formats as both formats are required. Both are returning expected output without any issues. Signed-off-by: Maram Srimannarayana Murthy <msmurthy@linux.vnet.ibm.com>
1 parent 1a4aa73 commit 916d4f5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

avocado/utils/pci.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,8 +192,8 @@ def get_slot_from_sysfs(full_pci_address):
192192
193193
:return: Removed port related details using re, only returns till
194194
physical slot of the adapter
195-
Examples: U78CD.001.FZHAK92-P2-C3
196-
U50EE.001.WZS0011-P3-C20-R1
195+
Examples: U78CC.001.FZHAK92-P2-C3
196+
U50EE.001.WZS0011-P3-C20-R2
197197
"""
198198
if not os.path.isfile(f"/sys/bus/pci/devices/{full_pci_address}/devspec"):
199199
return None

0 commit comments

Comments
 (0)