2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-09-05 12:37:56 +00:00

Fix httpapi getaddrinfo

Another area that failed to get the positional arguments converted to keyword.
This commit is contained in:
Jarrod Johnson
2026-08-19 11:24:41 -04:00
parent 193cced1a6
commit a9da8ab3d3
+1 -1
View File
@@ -1246,7 +1246,7 @@ async def serve(bind_host, bind_port, bind_group, bind_perms):
bind_arg = bind_host
else:
bindinfo = await asyncio.get_running_loop().getaddrinfo(
bind_host, bind_port, 0, socket.SOCK_STREAM)
bind_host, bind_port, type=socket.SOCK_STREAM)
if bindinfo[0][0] == socket.AF_INET:
sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
elif bindinfo[0][0] == socket.AF_INET6: