Skip to content

Commit 8609f90

Browse files
mgoinminpeter
authored andcommitted
[Bugfix] Fix port handling in make_zmq_path (vllm-project#19117)
Signed-off-by: minpeter <kali2005611@gmail.com>
1 parent 6ea9c43 commit 8609f90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vllm/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2461,7 +2461,7 @@ def make_zmq_path(scheme: str, host: str, port: Optional[int] = None) -> str:
24612461
Returns:
24622462
A properly formatted ZMQ path string.
24632463
"""
2464-
if not port:
2464+
if port is None:
24652465
return f"{scheme}://{host}"
24662466
if is_valid_ipv6_address(host):
24672467
return f"{scheme}://[{host}]:{port}"

0 commit comments

Comments
 (0)