From 3e90ddb37d1d13977b69ae01117f50bab3495266 Mon Sep 17 00:00:00 2001 From: Tim Burke Date: Mon, 14 Oct 2019 11:15:37 -0700 Subject: swift-account-audit: clean up some error formatting "127.0.0.1s:sdas" is confusing at best. Change-Id: I37f78d5993082ac29b001e9563aa4b24fd009a27 --- bin/swift-account-audit | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin') diff --git a/bin/swift-account-audit b/bin/swift-account-audit index f0ad4e7de..4c5767b8d 100755 --- a/bin/swift-account-audit +++ b/bin/swift-account-audit @@ -251,14 +251,14 @@ class Auditor(object): self.account_not_found += 1 consistent = False print(" Bad status GETting account '%s' " - " from %ss:%ss" % + " from %s:%s" % (account, node['ip'], node['device'])) break results = json.loads(resp.read()) except Exception: self.account_exceptions += 1 consistent = False - print(" Exception GETting account '%s' on %ss:%ss" % + print(" Exception GETting account '%s' on %s:%s" % (account, node['ip'], node['device'])) break if node_id not in responses: -- cgit v1.2.1