mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-25 02:52:07 +00:00
Sort the IP addresses in nodediscover for consistent UI
This commit is contained in:
parent
f16daa44dd
commit
8ea2ba046e
@ -229,6 +229,7 @@ def _printable_ip(sa):
|
||||
|
||||
def send_discovery_datum(info):
|
||||
addresses = info.get('addresses', [])
|
||||
addresses = util.natural_sort(addresses)
|
||||
if info['handler'] == pxeh:
|
||||
enrich_pxe_info(info)
|
||||
yield msg.KeyValueData({'nodename': info.get('nodename', '')})
|
||||
|
Loading…
Reference in New Issue
Block a user