From bd40f2f4a6f452a0bee7f5f916cf7d414384c411 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Tue, 27 Mar 2018 17:11:35 -0400 Subject: [PATCH] Fix mistake in indexing of url --- confluent_server/confluent/messages.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/confluent_server/confluent/messages.py b/confluent_server/confluent/messages.py index e9694b17..fb40ad79 100644 --- a/confluent_server/confluent/messages.py +++ b/confluent_server/confluent/messages.py @@ -394,10 +394,10 @@ def get_input_message(path, operation, inputdata, nodes=None, multinode=False, elif (path[:3] == ['configuration', 'management_controller', 'reset'] and operation != 'retrieve'): return InputBMCReset(path, nodes, inputdata) - elif (path[:2] == ['configuration', 'management_controller', 'identifier'] + elif (path[:3] == ['configuration', 'management_controller', 'identifier'] and operation != 'retrieve'): return InputMCI(path, nodes, inputdata) - elif (path[:2] == ['configuration', 'management_controller', 'hostname'] + elif (path[:3] == ['configuration', 'management_controller', 'hostname'] and operation != 'retrieve'): return InputHostname(path, nodes, inputdata, configmanager) elif (path[:4] == ['configuration', 'management_controller',