From dfdeb5c3c0f7e8f74539c7658ce589b872489acc Mon Sep 17 00:00:00 2001 From: Josh Durgin Date: Thu, 27 Mar 2014 17:20:54 -0700 Subject: [PATCH] radosgw-agent: coerce max-entries config to a string This is necessary to pass it as a command line argument. Signed-off-by: Josh Durgin --- teuthology/task/radosgw-agent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teuthology/task/radosgw-agent.py b/teuthology/task/radosgw-agent.py index 6d48e0df05..e8ffe949da 100644 --- a/teuthology/task/radosgw-agent.py +++ b/teuthology/task/radosgw-agent.py @@ -88,7 +88,7 @@ def run_radosgw_agent(ctx, config): '--source', "http://{addr}:{port}".format(addr=src_host, port=src_port), '--dest-access-key', dest_access, '--dest-secret-key', dest_secret, - '--max-entries', cconf.get('max-entries', '1000'), + '--max-entries', str(cconf.get('max-entries', 1000)), '--log-file', '{tdir}/archive/rgw_sync_agent.{client}.log'.format( tdir=testdir, client=client), -- 2.39.5