From 0176c9ab0f3c103131882406ce683fd2a33649e9 Mon Sep 17 00:00:00 2001 From: Josh Durgin Date: Tue, 3 Jan 2012 12:05:17 -0800 Subject: [PATCH] Remove unused mon.0 variables. --- teuthology/task/rados.py | 1 - teuthology/task/radosbench.py | 1 - teuthology/task/watch_notify_stress.py | 1 - 3 files changed, 3 deletions(-) diff --git a/teuthology/task/rados.py b/teuthology/task/rados.py index 795e04b3f81de..6641e87fab302 100644 --- a/teuthology/task/rados.py +++ b/teuthology/task/rados.py @@ -70,7 +70,6 @@ def task(ctx, config): str(config.get('max_stride_size', object_size / 5)) ] - (mon,) = ctx.cluster.only('mon.0').remotes.iterkeys() tests = {} for role in config.get('clients', ['client.0']): assert isinstance(role, basestring) diff --git a/teuthology/task/radosbench.py b/teuthology/task/radosbench.py index a6cedda519707..c0bbbe0f36289 100644 --- a/teuthology/task/radosbench.py +++ b/teuthology/task/radosbench.py @@ -30,7 +30,6 @@ def task(ctx, config): "please list clients to run on" radosbench = {} - (mon,) = ctx.cluster.only('mon.0').remotes.iterkeys() for role in config.get('clients', ['client.0']): assert isinstance(role, basestring) PREFIX = 'client.' diff --git a/teuthology/task/watch_notify_stress.py b/teuthology/task/watch_notify_stress.py index efc97369b7366..e15c731132076 100644 --- a/teuthology/task/watch_notify_stress.py +++ b/teuthology/task/watch_notify_stress.py @@ -29,7 +29,6 @@ def task(ctx, config): "please list clients to run on" testwatch = {} - (mon,) = ctx.cluster.only('mon.0').remotes.iterkeys() remotes = [] for role in config.get('clients', ['client.0']): assert isinstance(role, basestring) -- 2.39.5