diff options
author | tmartins <thigm85@gmail.com> | 2020-08-20 13:38:12 +0200 |
---|---|---|
committer | tmartins <thigm85@gmail.com> | 2020-08-20 13:38:12 +0200 |
commit | 9fd6d4a25199bbf356f3ebbb9265cff76e126a84 (patch) | |
tree | 67be3be1fe631f705378fdae2de2b22c43d6dfc3 | |
parent | 3f6fcaefe320aa5f6207f87ea5b5c538c2304686 (diff) |
use self.local_port instead of hard coded 8080
-rw-r--r-- | python/vespa/vespa/package.py | 4 |
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, ) |