]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/rgw: fix swift warning message 28697/head
authorCasey Bodley <cbodley@redhat.com>
Fri, 21 Jun 2019 19:18:55 +0000 (15:18 -0400)
committerCasey Bodley <cbodley@redhat.com>
Fri, 21 Jun 2019 19:18:59 +0000 (15:18 -0400)
  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 <cbodley@redhat.com>
qa/tasks/swift.py

index 00d4de4c0a4e37faa984e27ef85cd2a6eb95dc12..cd4668b0fa5552bad0365cdea12f4f3d8e28ba28 100644 (file)
@@ -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)