Skip to content

Commit cf21dc7

Browse files
authored
[Distributed]: AbstractString -> String in field types (#37017)
1 parent 637eb75 commit cf21dc7

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/cluster.jl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,12 @@ Some fields are used by both `LocalManager`s and `SSHManager`s:
4646
mutable struct WorkerConfig
4747
# Common fields relevant to all cluster managers
4848
io::Union{IO, Nothing}
49-
host::Union{AbstractString, Nothing}
49+
host::Union{String, Nothing}
5050
port::Union{Int, Nothing}
5151

5252
# Used when launching additional workers at a host
5353
count::Union{Int, Symbol, Nothing}
54-
exename::Union{AbstractString, Cmd, Nothing}
54+
exename::Union{String, Cmd, Nothing}
5555
exeflags::Union{Cmd, Nothing}
5656

5757
# External cluster managers can use this to store information at a per-worker level
@@ -61,8 +61,8 @@ mutable struct WorkerConfig
6161
# SSHManager / SSH tunnel connections to workers
6262
tunnel::Union{Bool, Nothing}
6363
multiplex::Union{Bool, Nothing}
64-
forward::Union{AbstractString, Nothing}
65-
bind_addr::Union{AbstractString, Nothing}
64+
forward::Union{String, Nothing}
65+
bind_addr::Union{String, Nothing}
6666
sshflags::Union{Cmd, Nothing}
6767
max_parallel::Union{Int, Nothing}
6868

@@ -200,9 +200,9 @@ end
200200

201201
mutable struct LocalProcess
202202
id::Int
203-
bind_addr::AbstractString
203+
bind_addr::String
204204
bind_port::UInt16
205-
cookie::AbstractString
205+
cookie::String
206206
LocalProcess() = new(1)
207207
end
208208

0 commit comments

Comments
 (0)