]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commitdiff
use ctx instead of remotes 353/head
authorAlfredo Deza <alfredo.deza@inktank.com>
Thu, 6 Nov 2014 17:53:18 +0000 (12:53 -0500)
committerAlfredo Deza <alfredo.deza@inktank.com>
Thu, 6 Nov 2014 17:53:18 +0000 (12:53 -0500)
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
teuthology/nuke.py

index 46b5e16dbfbbf790c6557a86b1d7e11e4e5ebea3..db1d5b67a065701af8e12400b449223c03e36bc8 100644 (file)
@@ -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'