]> git-server-git.apps.pok.os.sepia.ceph.com Git - ragweed.git/commitdiff
rgw: fix explicit placement pool
authorYehuda Sadeh <yehuda@redhat.com>
Thu, 23 Feb 2017 23:02:46 +0000 (15:02 -0800)
committerYehuda Sadeh <yehuda@redhat.com>
Thu, 23 Feb 2017 23:02:46 +0000 (15:02 -0800)
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
ragweed/framework.py

index 6a8674838181069f7cf1982b4f33672fa11d0028..9fb9b7a4e7aa49b53b5ab97f3e1dfd37275345a1 100644 (file)
@@ -158,7 +158,7 @@ class RBucket:
         if placement_rule == '':
                 try:
                     # new style
-                    return obj_layout.manifest.tail_placement.bucket.explicit_placement
+                    return obj_layout.manifest.tail_placement.bucket.explicit_placement.data_pool
                 except:
                     pass