]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
Revert "Lines formerly of the form '(remote,) = ctx.cluster.only(role).remotes.keys()'"
authorZack Cerza <zack@cerza.org>
Thu, 27 Mar 2014 16:35:28 +0000 (11:35 -0500)
committerZack Cerza <zack@cerza.org>
Thu, 27 Mar 2014 16:35:28 +0000 (11:35 -0500)
This reverts commit d693b3f8950ffd1f2492a4db0f8234fee31f00f0.

s3tests.py
swift.py

index f2c2b072848656f97c91a5220aa702082bf5e4ce..abbacb9bfaa3a9cd1957f136067210f48aebe276 100644 (file)
@@ -246,7 +246,7 @@ def configure(ctx, config):
         else:
             s3tests_conf['DEFAULT']['host'] = 'localhost'
 
-        remote = teuthology.get_single_remote_value(ctx, client)
+        (remote,) = ctx.cluster.only(client).remotes.keys()
         remote.run(
             args=[
                 'cd',
index efc8587765923a600e61588abec47dfda6f04b68..6285eb6b1c510d69113063109ad75193d6a701f1 100644 (file)
--- a/swift.py
+++ b/swift.py
@@ -133,7 +133,7 @@ def configure(ctx, config):
             testswift_conf['func_test']['auth_host'] = 'localhost'
 
         log.info(client)
-        remote = teuthology.get_single_remote_value(ctx, client)
+        (remote,) = ctx.cluster.only(client).remotes.keys()
         remote.run(
             args=[
                 'cd',