Skip to content

Commit da21cbb

Browse files
fredrikekreKristofferC
authored andcommitted
Fix typeassert in worker-worker connection, fixes JuliaLang/julia#41155. (JuliaLang/julia#41305)
(cherry picked from commit bbd48fb)
1 parent c3736cc commit da21cbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cluster.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ end
351351
function parse_connection_info(str)
352352
m = match(r"^julia_worker:(\d+)#(.*)", str)
353353
if m !== nothing
354-
(m.captures[2], parse(UInt16, m.captures[1]))
354+
(String(m.captures[2]), parse(UInt16, m.captures[1]))
355355
else
356356
("", UInt16(0))
357357
end

0 commit comments

Comments
 (0)