Fix missing f-string placeholder
This commit is contained in:
parent
e654fbba08
commit
572596c575
|
@ -695,7 +695,7 @@ class MonitoringInstance(object):
|
||||||
health_text = f"{health_colour}{self.this_node.health}%{self.logger.fmt_end} node health"
|
health_text = f"{health_colour}{self.this_node.health}%{self.logger.fmt_end} node health"
|
||||||
result_text.append(health_text)
|
result_text.append(health_text)
|
||||||
else:
|
else:
|
||||||
health_text = "{self.logger.fmt_blue}N/A{self.logger.fmt_end} node health"
|
health_text = f"{self.logger.fmt_blue}N/A{self.logger.fmt_end} node health"
|
||||||
result_text.append(health_text)
|
result_text.append(health_text)
|
||||||
|
|
||||||
self.logger.out(
|
self.logger.out(
|
||||||
|
|
Loading…
Reference in New Issue