2
0
mirror of https://github.com/xcat2/confluent.git synced 2025-08-29 22:38:22 +00:00

Remove disused function from confluent2ansible

This commit is contained in:
Jarrod Johnson
2025-08-26 09:50:25 -04:00
parent ac8179b867
commit a01eb64adc

View File

@@ -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 = ''