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 Sep 11, 2024
1 parent 4ffc425 commit 0a47a4c
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 0a47a4c

Please sign in to comment.