We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 923038a + c16515e commit d806387Copy full SHA for d806387
1 file changed
src/publisher/mqtt_publisher.py
@@ -70,10 +70,10 @@ async def __run_loop(self) -> None:
70
ssl_context.load_verify_locations(
71
cafile=self.configuration.tls_server_cert_path
72
)
73
- if not self.configuration.tls_server_cert_check_hostname:
74
- LOG.warning(
75
- f"Skipping hostname check for TLS connection to {self.host}"
76
- )
+ if not self.configuration.tls_server_cert_check_hostname:
+ LOG.warning(
+ f"Skipping hostname check for TLS connection to {self.host}"
+ )
77
78
client = aiomqtt.Client(
79
hostname=self.host,
0 commit comments