mirror of https://github.com/zulip/zulip.git
check-rabbitmq-consumers: Add missing f on format string.
This commit is contained in:
parent
46a57e37aa
commit
1b10bf1921
|
@ -65,5 +65,5 @@ for queue_name in consumers:
|
||||||
atomic_nagios_write(
|
atomic_nagios_write(
|
||||||
"check-rabbitmq-consumers-" + queue_name,
|
"check-rabbitmq-consumers-" + queue_name,
|
||||||
"critical" if consumers[queue_name] < target_count else "ok",
|
"critical" if consumers[queue_name] < target_count else "ok",
|
||||||
"queue {queue_name} has {consumers[queue_name]} consumers, needs {target_count}",
|
f"queue {queue_name} has {consumers[queue_name]} consumers, needs {target_count}",
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue