From 520d4a97c7d35537be8be322ee1356bcd238979a Mon Sep 17 00:00:00 2001 From: Dilum Aluthge Date: Fri, 20 Feb 2026 23:37:54 -0500 Subject: [PATCH] Fix a JET error around matching methods for `read_worker_host_port(...)` (#171) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is a forward-port of https://github.com/JuliaLang/Distributed.jl/pull/171 (https://github.com/JuliaLang/Distributed.jl/commit/0cf99106072adf5527acd48c668cd95c925e114f). ``` ┌ connect(manager::Distributed.SSHManager, pid::Int64, config::Distributed.WorkerConfig) @ Distributed /workpath/Distributed.jl/src/managers.jl:582 │ no matching method found `read_worker_host_port(::Nothing)` (1/2 union split): Distributed.read_worker_host_port((config::Distributed.WorkerConfig).io::Union{Nothing, IO}) └──────────────────── ``` (cherry picked from commit 0cf99106072adf5527acd48c668cd95c925e114f) --- src/managers.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/managers.jl b/src/managers.jl index fccc5ea..c16a1f0 100644 --- a/src/managers.jl +++ b/src/managers.jl @@ -606,7 +606,7 @@ function connect(manager::ClusterManager, pid::Int, config::WorkerConfig) # master connecting to workers if config.io !== nothing - (bind_addr, port::Int) = read_worker_host_port(config.io) + (bind_addr, port::Int) = read_worker_host_port(config.io::IO) pubhost = something(config.host, bind_addr) config.host = pubhost config.port = port