diff --git a/infrahub_sync/adapters/slurpitsync.py b/infrahub_sync/adapters/slurpitsync.py index ae099be..c75341f 100644 --- a/infrahub_sync/adapters/slurpitsync.py +++ b/infrahub_sync/adapters/slurpitsync.py @@ -148,11 +148,8 @@ def normalize_and_find_prefix(entry): return entry - # Concurrent execution of tasks - tasks = [normalize_and_find_prefix(entry) for entry in interfaces if entry.get("IP")] - - # Run tasks concurrently - filtered_interfaces = await asyncio.gather(*tasks) + # Process interfaces synchronously (normalize_and_find_prefix is not async) + filtered_interfaces = [normalize_and_find_prefix(entry) for entry in interfaces if entry.get("IP")] results = [entry for entry in filtered_interfaces if entry]