Skip to content

Commit

Permalink
Fix typeassert in worker-worker connection, fixes #41155. (#41305)
Browse files Browse the repository at this point in the history
(cherry picked from commit a4dd5e5)
  • Loading branch information
fredrikekre authored and KristofferC committed Jun 29, 2021
1 parent 1b37db3 commit c5eceef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stdlib/Distributed/src/cluster.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c5eceef

Please sign in to comment.