From a01eb64adc78b1d6f46dbcd400e8c5b236cb04ed Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Tue, 26 Aug 2025 09:50:25 -0400 Subject: [PATCH] Remove disused function from confluent2ansible --- confluent_client/bin/confluent2ansible | 6 ------ 1 file changed, 6 deletions(-) diff --git a/confluent_client/bin/confluent2ansible b/confluent_client/bin/confluent2ansible index ba27e429..31a3971d 100644 --- a/confluent_client/bin/confluent2ansible +++ b/confluent_client/bin/confluent2ansible @@ -18,11 +18,6 @@ import confluent.client as client import confluent.sortutil as sortutil -def lookupdata(data, key): - ret = data.get(key, {}).get('value', '') - if ret is None: - ret = '' - return ret def main(): @@ -59,7 +54,6 @@ def main(): else: for g in groups: nodesbygroup.setdefault(g, set()).add(node.strip().lower()) - existing_data = {} if options.append and os.path.exists(options.output): current_group = ''