Skip to content

Commit

Permalink
one more fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ikrommyd committed Oct 23, 2024
1 parent d3375fb commit c420adb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/run_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def main():

instance = runner_utils.initialize_class(config, args, fileset)

if args.port is not None:
if args.port is not None and (not args.executor.startswith("tls://") and not args.executor.startswith("tcp://") and not args.executor.startswith("ucx://")):
if not runner_utils.check_port(args.port):
logger.error(f"Port {args.port} is occupied in this node. Try another one.")
raise ValueError(f"Port {args.port} is occupied in this node. Try another one.")
Expand Down

0 comments on commit c420adb

Please sign in to comment.