From 8a47230d82a637207c2cbfdbd535dfe7e22f608c Mon Sep 17 00:00:00 2001 From: Joe Buck Date: Fri, 16 Aug 2013 17:34:57 -0700 Subject: [PATCH] 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 --- teuthology/task/radosgw-admin.py | 2 +- teuthology/task_util/rgw.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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), -- 2.39.5