From fac452ae55594aea482db5c13a0bd0207b6ecff6 Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Thu, 27 Mar 2014 11:35:28 -0500 Subject: [PATCH] Revert "Lines formerly of the form '(remote,) = ctx.cluster.only(role).remotes.keys()'" This reverts commit d693b3f8950ffd1f2492a4db0f8234fee31f00f0. --- s3tests.py | 2 +- swift.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/s3tests.py b/s3tests.py index f2c2b072848..abbacb9bfaa 100644 --- a/s3tests.py +++ b/s3tests.py @@ -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', diff --git a/swift.py b/swift.py index efc85877659..6285eb6b1c5 100644 --- 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', -- 2.39.5