Skip to content

Commit 2a1ce41

Browse files
Apply suggestion from @bgallagher-nexthop
Co-authored-by: Brian Gallagher <bgallagher@nexthop.ai> Signed-off-by: t2sharma <dhananjais009@gmail.com>
1 parent d247304 commit 2a1ce41

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

sonic_platform_base/sonic_pcie/pcie_common.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ def get_pcie_device(self):
7171
match2 = re.search(p2, line2.strip())
7272
if not (match1 and match2):
7373
print("CAN NOT MATCH PCIe DEVICE")
74-
print("lspci :", line1.strip())
75-
print("lspci -n:", line2.strip())
74+
print("lspci -D :", line1.strip())
75+
print("lspci -D -n:", line2.strip())
7676
continue
7777

7878
domain = match1.group(1).lower()

0 commit comments

Comments
 (0)