aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortmartins <thigm85@gmail.com>2020-08-20 13:38:12 +0200
committertmartins <thigm85@gmail.com>2020-08-20 13:38:12 +0200
commit9fd6d4a25199bbf356f3ebbb9265cff76e126a84 (patch)
tree67be3be1fe631f705378fdae2de2b22c43d6dfc3
parent3f6fcaefe320aa5f6207f87ea5b5c538c2304686 (diff)
use self.local_port instead of hard coded 8080
-rw-r--r--python/vespa/vespa/package.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/python/vespa/vespa/package.py b/python/vespa/vespa/package.py
index a9d589e46d1..4b5d1e701d5 100644
--- a/python/vespa/vespa/package.py
+++ b/python/vespa/vespa/package.py
@@ -464,5 +464,7 @@ class VespaDocker(object):
raise RuntimeError(deployment_message)
return Vespa(
- url="http://localhost", port=8080, deployment_message=deployment_message
+ url="http://localhost",
+ port=self.local_port,
+ deployment_message=deployment_message,
)