From 6d1c80a5e902c54ba3050b4e30cee1262e625381 Mon Sep 17 00:00:00 2001 From: Guillaume Abrioux Date: Fri, 12 Jan 2024 09:09:15 +0000 Subject: [PATCH] node-proxy: address a typo while checking logs, I noticed the following message: ``` 2024-01-12 09:08:03,751 - reporter - INFO - Reporter url set to https:10.10.10.11:7150/node-proxy/data ``` Although this is only a cosmetic issue as this variable is only used for logging messages, let's fix it. Signed-off-by: Guillaume Abrioux (cherry picked from commit 1c4a212eb8d9608630c518cbbf46ab97051b1bc0) --- src/ceph-node-proxy/ceph_node_proxy/reporter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ceph-node-proxy/ceph_node_proxy/reporter.py b/src/ceph-node-proxy/ceph_node_proxy/reporter.py index 9e5521aa280b3..ab0fbc1af5151 100644 --- a/src/ceph-node-proxy/ceph_node_proxy/reporter.py +++ b/src/ceph-node-proxy/ceph_node_proxy/reporter.py @@ -24,7 +24,7 @@ class Reporter: self.reporter_port: str = reporter_port self.reporter_endpoint: str = reporter_endpoint self.log = Logger(__name__) - self.reporter_url: str = (f'{reporter_scheme}:{reporter_hostname}:' + self.reporter_url: str = (f'{reporter_scheme}://{reporter_hostname}:' f'{reporter_port}{reporter_endpoint}') self.log.logger.info(f'Reporter url set to {self.reporter_url}') -- 2.39.5