Fix bus_info in nic_numa_node

Change-Id: I8e7d6fbb214d3657bc93815ae90137cc07097227
Closes-Bug: #1588781
This commit is contained in:
Artur Svechnikov 2016-06-03 14:23:44 +03:00
parent 5fa721206b
commit 5121bd658f
1 changed files with 1 additions and 1 deletions

2
agent
View File

@ -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