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
  • Loading branch information
fredrikekre authored Jun 22, 2021
1 parent 7553ca1 commit a4dd5e5
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 @@ -351,7 +351,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 a4dd5e5

Please sign in to comment.