2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-11-28 21:32:22 +00:00

Fix pyrefly division-by-zero in nodediscover

This commit is contained in:
Markus Hilger
2026-11-20 13:45:10 +01:00
parent 42a4291cb4
commit 3e4b846b73
+1 -1
View File
@@ -52,7 +52,7 @@ columnmapping = {
async def register_endpoint(options, session, addr):
neednewline = False
current = 0
total = 0
total: int = 0
if options.node:
async for rsp in session.update('/discovery/register', {'noderange': options.node}):
if 'created' in rsp: