From e4d7be649ab7eda784b668c70b2b118d21876be6 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Wed, 11 May 2022 13:31:19 -0400 Subject: [PATCH] Fix single inlet operations --- confluent_server/confluent/plugins/hardwaremanagement/pdu.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confluent_server/confluent/plugins/hardwaremanagement/pdu.py b/confluent_server/confluent/plugins/hardwaremanagement/pdu.py index 825e9609..7eaa3330 100644 --- a/confluent_server/confluent/plugins/hardwaremanagement/pdu.py +++ b/confluent_server/confluent/plugins/hardwaremanagement/pdu.py @@ -58,7 +58,7 @@ def get_outlets(nodes, emebs, inletname): pgroup = 'inlet_' + attrib[0] else: pgroup = 'default' - if inletname == 'all' or pgroup == 'inletname': + if inletname == 'all' or pgroup == inletname: if pgroup not in outlets[node]: outlets[node][pgroup] = {} outlets[node][pgroup][attrib[-1]] = v