From c57090a670c2a21678095abea2c77ca6da49b72a Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Mon, 24 Oct 2022 13:26:06 -0400 Subject: [PATCH] Correct order of find and replace strings in by-mac boot --- confluent_server/confluent/httpapi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confluent_server/confluent/httpapi.py b/confluent_server/confluent/httpapi.py index 6ef113e9..5ae8811f 100644 --- a/confluent_server/confluent/httpapi.py +++ b/confluent_server/confluent/httpapi.py @@ -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]