From 1b10bf1921274e57d10e4c04412660f01f4466a0 Mon Sep 17 00:00:00 2001 From: Alex Vandiver Date: Wed, 5 Jun 2024 00:22:37 -0400 Subject: [PATCH] check-rabbitmq-consumers: Add missing f on format string. --- scripts/nagios/check-rabbitmq-consumers | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/nagios/check-rabbitmq-consumers b/scripts/nagios/check-rabbitmq-consumers index c256cf8e65..37f001703f 100755 --- a/scripts/nagios/check-rabbitmq-consumers +++ b/scripts/nagios/check-rabbitmq-consumers @@ -65,5 +65,5 @@ for queue_name in consumers: atomic_nagios_write( "check-rabbitmq-consumers-" + queue_name, "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}", )