Skip to content

Commit

Permalink
Merge pull request #2140 from minrk/self.log
Browse files Browse the repository at this point in the history
self.log typo
  • Loading branch information
minrk authored Mar 3, 2022
2 parents 4a877ab + 1764076 commit 27243bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion images/federation-redirect/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ def prepare(self):
if not hosts:
# no healthy hosts, allow routing to unhealthy 'prime' host only
hosts = {key: host for key, host in CONFIG["hosts"].items() if host.get("prime")}
self.log.warning(f"Using unhealthy prime host(s) {list(hosts)} because zero hosts are healthy")
app_log.warning(f"Using unhealthy prime host(s) {list(hosts)} because zero hosts are healthy")
self.host_names = [c["url"] for c in hosts.values() if c["weight"] > 0]
self.host_weights = [c["weight"] for c in hosts.values() if c["weight"] > 0]

Expand Down

0 comments on commit 27243bb

Please sign in to comment.