mirror of
https://github.com/xcat2/confluent.git
synced 2026-09-11 03:56:26 +00:00
9148a9e1cf
These __main__ blocks called coroutines as if they were functions, so they did nothing at all. Single calls go through asyncio.run; sshutil, proxmox and vcenter needed an _selftest coroutine. Two were invisible to pyrefly because repr() and list() count as using the result: vcenter's get_vm_serial needs an await, and proxmox's get_vm_inventory is an async generator. lldp called _extract_neighbor_data twice, once correctly, so the bare call is dropped. xcc3.remote_nodecfg is not a self test: every other handler defines it as a coroutine and selfservice.py awaits it.