From: Alfredo Deza Date: Thu, 6 Nov 2014 17:53:18 +0000 (-0500) Subject: use ctx instead of remotes X-Git-Tag: 1.1.0~1077^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F353%2Fhead;p=teuthology.git use ctx instead of remotes Signed-off-by: Alfredo Deza --- 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'