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:
Andrew Woodward 2014-01-20 14:08:38 -08:00
parent 00b6de30a0
commit 807ecd7b3c
1 changed files with 1 additions and 1 deletions

View File

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