Fixed missing fstring from wsrelay logging (#15094)

Fixed missing fstring from wsrelay logging
This commit is contained in:
lucas-benedito 2024-04-16 18:32:34 +01:00 committed by GitHub
parent 199507c6f1
commit 672f1eb745
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -242,7 +242,7 @@ class WebSocketRelayManager(object):
# In this case, we'll be sharing a redis, no need to relay.
if payload.get("hostname") == self.local_hostname:
hostname = payload.get("hostname")
logger.debug("Received a heartbeat request for {hostname}. Skipping as we use redis for local host.")
logger.debug(f"Received a heartbeat request for {hostname}. Skipping as we use redis for local host.")
continue
action = payload.get("action")