From c5eceef7faa1f3dc452074f93439c80ad6e3b68e Mon Sep 17 00:00:00 2001 From: Fredrik Ekre Date: Tue, 22 Jun 2021 09:06:38 +0200 Subject: [PATCH] Fix typeassert in worker-worker connection, fixes #41155. (#41305) (cherry picked from commit a4dd5e5338ebebd0913d53befe092e282a68e217) --- stdlib/Distributed/src/cluster.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/Distributed/src/cluster.jl b/stdlib/Distributed/src/cluster.jl index 2cf0f27502616..fff26710ac973 100644 --- a/stdlib/Distributed/src/cluster.jl +++ b/stdlib/Distributed/src/cluster.jl @@ -349,7 +349,7 @@ end function parse_connection_info(str) m = match(r"^julia_worker:(\d+)#(.*)", str) if m !== nothing - (m.captures[2], parse(UInt16, m.captures[1])) + (String(m.captures[2]), parse(UInt16, m.captures[1])) else ("", UInt16(0)) end