From f1b5d71406532df5fffa276057bd9e9507230edf Mon Sep 17 00:00:00 2001 From: lucas-benedito <55454581+lucas-benedito@users.noreply.github.com> Date: Tue, 16 Apr 2024 18:32:34 +0100 Subject: [PATCH] Fixed missing fstring from wsrelay logging (#15094) Fixed missing fstring from wsrelay logging --- awx/main/wsrelay.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")