Skip to content

Commit

Permalink
Fixed missing fstring from wsrelay logging (ansible#15094)
Browse files Browse the repository at this point in the history
Fixed missing fstring from wsrelay logging
  • Loading branch information
lucas-benedito authored and djyasin committed Nov 11, 2024
1 parent e8cfb2f commit f1b5d71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion awx/main/wsrelay.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit f1b5d71

Please sign in to comment.