]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
tasks/ceph: update ctx.manager usage to ctx.managers
authorJosh Durgin <jdurgin@redhat.com>
Fri, 25 Mar 2016 00:12:39 +0000 (17:12 -0700)
committerJosh Durgin <jdurgin@redhat.com>
Mon, 9 May 2016 18:51:59 +0000 (11:51 -0700)
Not sure this function is ever used (no users in ceph-qa-suite yamls
or tasks.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
tasks/ceph.py

index b10d50f9e6a8d6f92df22fd0833f77c2d7888663..8711c214a3fd77f434aede9e814ed5e1abe9d138 100644 (file)
@@ -1171,8 +1171,8 @@ def created_pool(ctx, config):
     knows about.
     """
     for new_pool in config:
-        if new_pool not in ctx.manager.pools:
-            ctx.manager.pools[new_pool] = ctx.manager.get_pool_property(
+        if new_pool not in ctx.managers['ceph'].pools:
+            ctx.managers['ceph'].pools[new_pool] = ctx.managers['ceph'].get_pool_property(
                 new_pool, 'pg_num')