drivers: Fix log message when the STS policy uses the same port as configured.

This commit is contained in:
Valentin Lorentz 2021-06-02 16:51:09 +02:00
parent a4758146d8
commit aaca81c5b9

View File

@ -113,6 +113,9 @@ class ServersMixin(object):
network.expireStsPolicy(server.hostname)
return server
if server.port == policy['port']:
log.info('Using STS policy, port %s', server.port)
else:
log.info('Using STS policy: changing port from %s to %s.',
server.port, policy['port'])