From 5d7e92096c07bb651d435731bbeb1ab219fecce0 Mon Sep 17 00:00:00 2001 From: Alfredo Deza Date: Thu, 6 Nov 2014 12:53:18 -0500 Subject: [PATCH] use ctx instead of remotes Signed-off-by: Alfredo Deza --- teuthology/nuke.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/teuthology/nuke.py b/teuthology/nuke.py index 46b5e16db..db1d5b67a 100644 --- a/teuthology/nuke.py +++ b/teuthology/nuke.py @@ -284,7 +284,7 @@ def remove_testing_tree(ctx): proc.wait() -def remove_configuration_files(remotes): +def remove_configuration_files(ctx): """ Goes through a list of commonly used configuration files used for testing that should not be left behind. @@ -296,7 +296,7 @@ def remove_configuration_files(remotes): nodes = {} - for remote in remotes: + for remote in ctx.cluster.remotes.iterkeys(): proc = remote.run( args=[ 'rm', '-f', '/home/ubuntu/.cephdeploy.conf' -- 2.47.3