diff options
author | Stevan Radakovic <stevan.radakovic@linaro.org> | 2017-12-21 14:31:20 +0100 |
---|---|---|
committer | Senthil Kumaran Shanmugasundaram <senthil.kumaran@linaro.org> | 2018-01-08 05:14:48 +0000 |
commit | 9fbfb17325f94abfa246bfc4be8bd0f99688c718 (patch) | |
tree | 690aff54b6e3ceae34e323a74e177affc4a36b31 | |
parent | 16b7b1bc587ae46040b8e6fb72d7970eb903fde7 (diff) |
LAVA-1183 - wait-for-job does not receive events when port is used
When the specific port is used for the lava-server endpoint,
lava-tool wait-job-events does not receive any events.
Change-Id: I0e5cf031770c09d827ce832729c2a476881dc6da
Reviewed-on: https://review.linaro.org/23123
Reviewed-by: lava-bot
Reviewed-by: Senthil Kumaran Shanmugasundaram <senthil.kumaran@linaro.org>
-rw-r--r-- | lava_scheduler_tool/commands.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lava_scheduler_tool/commands.py b/lava_scheduler_tool/commands.py index d4b4730..4b07af8 100644 --- a/lava_scheduler_tool/commands.py +++ b/lava_scheduler_tool/commands.py @@ -740,7 +740,7 @@ class wait_job_events(Command): # pylint: disable=invalid-name # Need to get the host in case of shortcuts usage. host = get_server_url(auth_backend, self.args.SERVER) - hostname = urlparse.urlparse(host).netloc + hostname = urlparse.urlparse(host).hostname if self.args.job_id: job_ids = [self.args.job_id] |