Skip to content

Commit e4485c3

Browse files
Also allow multiple options for interface
1 parent 7b55db4 commit e4485c3

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

distributed/cli/dask_scheduler.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ def main(
131131
host,
132132
port,
133133
protocol,
134+
interface,
134135
bokeh_port,
135136
show,
136137
dashboard,
@@ -163,6 +164,9 @@ def main(
163164
)
164165
dashboard = bokeh
165166

167+
if interface and "," in interface:
168+
interface = interface.split(",")
169+
166170
if protocol and "," in protocol:
167171
protocol = protocol.split(",")
168172

@@ -222,6 +226,7 @@ async def run():
222226
host=host,
223227
port=port,
224228
protocol=protocol,
229+
interface=interface,
225230
dashboard=dashboard,
226231
dashboard_address=dashboard_address,
227232
http_prefix=dashboard_prefix,

0 commit comments

Comments
 (0)