A few edits to make logging and variable names
more clear.
Signed-off-by: Joe Buck <jbbuck@gmail.com>
# 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
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),