From: Casey Bodley Date: Fri, 21 Jun 2019 19:18:55 +0000 (-0400) Subject: qa/rgw: fix swift warning message X-Git-Tag: v15.1.0~2393^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F28697%2Fhead;p=ceph.git 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 --- diff --git a/qa/tasks/swift.py b/qa/tasks/swift.py index 00d4de4c0a4e..cd4668b0fa55 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)