Fix typo error in sysinv
The return value of query_pci_id is 0 or 1. Not '1' Story: 2003678 Task: 26200 Change-Id: Ibea897a0d27a57e519dd0ed14a6aa53e9ffd5c3c Signed-off-by: slin14 <shuicheng.lin@intel.com>
This commit is contained in:
parent
0426081c88
commit
348d20d676
|
@ -474,7 +474,7 @@ class PCIOperator(object):
|
|||
vendor, device)
|
||||
except subprocess.CalledProcessError as e:
|
||||
dpdksupport = False
|
||||
if e.returncode == '1':
|
||||
if e.returncode == 1:
|
||||
# NIC is not supprted
|
||||
LOG.debug("DPDK does not support NIC "
|
||||
"(vendor: %s device: %s)",
|
||||
|
|
Loading…
Reference in New Issue