From 9b8be0584dee616af9df01b9622bf53dfde00fad Mon Sep 17 00:00:00 2001 From: Casey Bodley Date: Fri, 21 Jun 2019 15:18:55 -0400 Subject: [PATCH] qa/rgw: fix swift warning message File "/home/teuthworker/src/github.com_ceph_ceph_master/qa/tasks/swift.py", line 245, in task log.warning('Swift tests cannot run on rhel 7.6+, skipping client {client}'.format(client)) KeyError: 'client' Signed-off-by: Casey Bodley --- qa/tasks/swift.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qa/tasks/swift.py b/qa/tasks/swift.py index 00d4de4c0a4e3..cd4668b0fa555 100644 --- a/qa/tasks/swift.py +++ b/qa/tasks/swift.py @@ -242,7 +242,7 @@ def task(ctx, config): # http://tracker.ceph.com/issues/40304 can't bootstrap on rhel 7.6+ (remote,) = ctx.cluster.only(client).remotes.keys() if remote.os.name == 'rhel' and LooseVersion(remote.os.version) >= LooseVersion('7.6'): - log.warning('Swift tests cannot run on rhel 7.6+, skipping client {client}'.format(client)) + log.warning('Swift tests cannot run on rhel 7.6+, skipping client {}'.format(client)) continue clients.append(client) -- 2.39.5