Skip to content

Commit

Permalink
self.log typo
Browse files Browse the repository at this point in the history
old habits...
  • Loading branch information
minrk committed Mar 3, 2022
1 parent 4a877ab commit 1764076
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 1764076

Please sign in to comment.