]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
add rgw.create_ec_pool default profile
authorLoic Dachary <loic@dachary.org>
Tue, 1 Jul 2014 23:14:33 +0000 (01:14 +0200)
committerLoic Dachary <loic@dachary.org>
Tue, 1 Jul 2014 23:15:56 +0000 (01:15 +0200)
the former arguments had defaults, the caller do not set them

Signed-off-by: Loic Dachary <loic@dachary.org>
teuthology/task_util/rados.py

index f8264d396c4df027c036251874da2d191c371814..63a0848281f1daf5a94b5ac10b0233f97e44de25 100644 (file)
@@ -24,7 +24,7 @@ def rados(ctx, remote, cmd, wait=True, check_status=False):
     else:
         return proc
 
-def create_ec_pool(remote, name, profile_name, pgnum, profile):
+def create_ec_pool(remote, name, profile_name, pgnum, profile={}):
     remote.run(args=['ceph'] + cmd_erasure_code_profile(profile_name, profile))
     remote.run(args=[
         'ceph', 'osd', 'pool', 'create', name,