Skip to content
Snippets Groups Projects
Commit e9c6cc6f authored by Vincent Hatakeyama's avatar Vincent Hatakeyama
Browse files

:pencil: Update URI to expected value in recent redner module

parent 6737d378
No related branches found
No related tags found
1 merge request!128📝 Update URI to expected value in recent redner module
This commit is part of merge request !128. Comments created here will be created in the context of that merge request.
......@@ -25,5 +25,5 @@
_logger = logging.getLogger(__name__)
__version__ = "1.0.0"
__version__ = "1.1.0"
__date__ = "2021-01-14"
......@@ -29,5 +29,5 @@
__date__ = "2021-01-14"
__updated__ = "2022-08-11"
__updated__ = "2022-08-25"
MIGRATE = "migrate"
ADMIN_PASSWORD = "admin-password"
......@@ -198,6 +198,6 @@
base_url = None
if hasattr(self, "socket_path"):
session = requests_unixsocket.Session()
base_url = "http+unix://{}/api".format(quote(self.socket_path, safe=""))
base_url = "http+unix://{}".format(quote(self.socket_path, safe=""))
elif hasattr(self, "redner_port"):
session = requests.sessions.Session()
......@@ -202,6 +202,6 @@
elif hasattr(self, "redner_port"):
session = requests.sessions.Session()
base_url = f"http://localhost:{self.redner_port}/api"
base_url = f"http://localhost:{self.redner_port}"
# if there is neither port or socket, no session nor base_url
if not self.attach:
process = Process(target=DockerClient.print_log, args=(self.container,))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment