From: Mark Wooding Date: Mon, 20 Sep 2021 14:06:39 +0000 (+0100) Subject: svc/connect.in: Make `failures' info value be a string. X-Git-Url: https://git.distorted.org.uk/~mdw/tripe/commitdiff_plain/d3a17033e6285dfb9a7c626ec2e9403b6e1d5034 svc/connect.in: Make `failures' info value be a string. Otherwise we choke when presenting it for the `info' command. --- 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):