diff --git a/awx/main/wsrelay.py b/awx/main/wsrelay.py index 8a1a834295bd..fdf6d0e4548a 100644 --- a/awx/main/wsrelay.py +++ b/awx/main/wsrelay.py @@ -242,7 +242,7 @@ async def on_ws_heartbeat(self, conn): # 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")