mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 05:09:23 +01:00
drivers: Fix log message when the STS policy uses the same port as configured.
This commit is contained in:
parent
a4758146d8
commit
aaca81c5b9
@ -113,8 +113,11 @@ class ServersMixin(object):
|
|||||||
network.expireStsPolicy(server.hostname)
|
network.expireStsPolicy(server.hostname)
|
||||||
return server
|
return server
|
||||||
|
|
||||||
log.info('Using STS policy: changing port from %s to %s.',
|
if server.port == policy['port']:
|
||||||
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'])
|
||||||
|
|
||||||
# Change the port, and force TLS verification, as required by the STS
|
# Change the port, and force TLS verification, as required by the STS
|
||||||
# specification.
|
# specification.
|
||||||
|
Loading…
Reference in New Issue
Block a user