From d3a17033e6285dfb9a7c626ec2e9403b6e1d5034 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Mon, 20 Sep 2021 15:06:39 +0100 Subject: [PATCH] svc/connect.in: Make `failures' info value be a string. Otherwise we choke when presenting it for the `info' command. --- svc/connect.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/svc/connect.in b/svc/connect.in index 268ad5fc..25c80b0f 100644 --- a/svc/connect.in +++ b/svc/connect.in @@ -526,7 +526,7 @@ class PingPeer (object): 'min-ping': '%.1fms' % me._min, 'max-ping': '%.1fms' % me._max, 'state': me._timer and 'idle' or 'check', - 'failures': me._failures } + 'failures': str(me._failures) } @T._callback def _time(me): -- 2.11.0