Fix bus_info in nic_numa_node
Change-Id: I8e7d6fbb214d3657bc93815ae90137cc07097227 Closes-Bug: #1588781
This commit is contained in:
parent
5fa721206b
commit
5121bd658f
2
agent
2
agent
|
@ -322,7 +322,7 @@ class NodeAgent
|
||||||
|
|
||||||
def nic_numa_node(int_bus_info)
|
def nic_numa_node(int_bus_info)
|
||||||
numa_node = @numa_topology[:numa_nodes].select { |node|
|
numa_node = @numa_topology[:numa_nodes].select { |node|
|
||||||
node[:pcidevs].include?(int_meta[:bus_info])
|
node[:pcidevs].include?(int_bus_info)
|
||||||
}
|
}
|
||||||
numa_node.first[:id].to_i
|
numa_node.first[:id].to_i
|
||||||
rescue
|
rescue
|
||||||
|
|
Loading…
Reference in New Issue