]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
squash: use != not is not in radosbench
authorSamuel Just <sjust@redhat.com>
Mon, 4 May 2015 21:22:59 +0000 (14:22 -0700)
committerLoic Dachary <ldachary@redhat.com>
Tue, 12 May 2015 15:56:45 +0000 (17:56 +0200)
(cherry picked from commit 91bc0e91864903f6635879432e6dc7a0b36c76c2)

Conflicts:
tasks/radosbench.py
the prototype of the functions changed but not the logic

tasks/radosbench.py

index d260ad81500a2b508fcef8acce6d3061b0508437..1c5bd5486abff785f6050cec876c82120ac16730 100644 (file)
@@ -52,7 +52,7 @@ def task(ctx, config):
         if config.get('create_pool', True):
             if config.get('pool'):
                 pool = config.get('pool')
-                if pool is not 'data':
+                if pool != 'data':
                     ctx.manager.create_pool(pool, ec_pool=config.get('ec_pool', False))
             else:
                 pool = ctx.manager.create_pool_with_unique_name(ec_pool=config.get('ec_pool', False))