From: Joe Buck Date: Sat, 17 Aug 2013 00:34:57 +0000 (-0700) Subject: rename variables and log messages to be more clear X-Git-Tag: 1.1.0~1963 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=8a47230d82a637207c2cbfdbd535dfe7e22f608c;p=teuthology.git rename variables and log messages to be more clear A few edits to make logging and variable names more clear. Signed-off-by: Joe Buck --- diff --git a/teuthology/task/radosgw-admin.py b/teuthology/task/radosgw-admin.py index 630e197019..2d68148f70 100644 --- a/teuthology/task/radosgw-admin.py +++ b/teuthology/task/radosgw-admin.py @@ -32,7 +32,7 @@ def successful_ops(out): # simple test to indicate if multi-region testing should occur def multi_region_enabled(ctx): - # this is populated by the radosgw_agent task, seems reasonable to use that as an indicator that + # this is populated by the radosgw-agent task, seems reasonable to use that as an indicator that # we're testing multi-region sync return 'radosgw_agent' in ctx diff --git a/teuthology/task_util/rgw.py b/teuthology/task_util/rgw.py index 153708abe5..91458e5cbb 100644 --- a/teuthology/task_util/rgw.py +++ b/teuthology/task_util/rgw.py @@ -10,7 +10,7 @@ from teuthology import misc as teuthology log = logging.getLogger(__name__) def rgwadmin(ctx, client, cmd, stdin=StringIO(), check_status=False): - log.info('rgwadmin: %s' % cmd) + log.info('rgwadmin: {client} : {cmd}'.format(client=client,cmd=cmd)) testdir = teuthology.get_testdir(ctx) pre = [ '{tdir}/adjust-ulimits'.format(tdir=testdir),