Fix typo in agent mac fallback selection
Fix typo in agent mac fallback when no interface is inside the network that also contains the api address Resolves-bug: #1270963 Change-Id: I7744c9fae3db2df63c8e73b0e557a7ff992efe0e
This commit is contained in:
parent
00b6de30a0
commit
807ecd7b3c
|
@ -423,7 +423,7 @@ class NodeAgent
|
|||
detailed_data = _detailed
|
||||
res.merge!({
|
||||
:ip => ((_master_ip detailed_data or @os[:ipaddress]) rescue nil),
|
||||
:mac => ((_master_mac detailed_data or @os[:mac]) rescue nil),
|
||||
:mac => ((_master_mac detailed_data or @os[:macaddress]) rescue nil),
|
||||
:manufacturer => _manufacturer,
|
||||
:platform_name => _product_name,
|
||||
:meta => detailed_data
|
||||
|
|
Loading…
Reference in New Issue