From: Guillaume Abrioux Date: Fri, 12 Jan 2024 09:09:15 +0000 (+0000) Subject: node-proxy: address a typo X-Git-Tag: testing/wip-pdonnell-testing-20240430.123648-reef-debug~291^2~10 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=6d1c80a5e902c54ba3050b4e30cee1262e625381;p=ceph-ci.git 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) --- diff --git a/src/ceph-node-proxy/ceph_node_proxy/reporter.py b/src/ceph-node-proxy/ceph_node_proxy/reporter.py index 9e5521aa280..ab0fbc1af51 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}')