mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-29 13:00:03 +00:00
Correct order of find and replace strings in by-mac boot
This commit is contained in:
parent
29ad1bd57e
commit
c57090a670
@ -633,7 +633,7 @@ def resourcehandler_backend(env, start_response):
|
||||
yield ''
|
||||
return
|
||||
if request[1] == 'by-mac':
|
||||
mac = request[2].replace(':', '-')
|
||||
mac = request[2].replace('-', ':')
|
||||
nodename = disco.get_node_by_uuid_or_mac(mac)
|
||||
elif request[1] == 'by-uuid':
|
||||
uuid = request[2]
|
||||
|
Loading…
Reference in New Issue
Block a user