mirror of
https://github.com/xcat2/confluent.git
synced 2026-11-28 21:32:22 +00:00
Merge pull request #404 from Obihoernchen/fix/nodediscover-pyrefly
Fix pyrefly division-by-zero in nodediscover
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user