summaryrefslogtreecommitdiffstats
path: root/src/rgw/rgw_file.cc
diff options
context:
space:
mode:
authorDaniel Gryniewicz <dang@redhat.com>2021-01-21 18:11:30 +0100
committerDaniel Gryniewicz <dang@redhat.com>2021-03-02 13:35:05 +0100
commit497c9dbdd6500ff288d1e0f083d12f3c596a457b (patch)
treee8ac271820607988863480c8ec0ad9891656efc3 /src/rgw/rgw_file.cc
parentRGW Zipper - random cleanups (diff)
downloadceph-497c9dbdd6500ff288d1e0f083d12f3c596a457b.tar.xz
ceph-497c9dbdd6500ff288d1e0f083d12f3c596a457b.zip
RGW Zipper - Add zone abstraction
Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
Diffstat (limited to 'src/rgw/rgw_file.cc')
-rw-r--r--src/rgw/rgw_file.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rgw/rgw_file.cc b/src/rgw/rgw_file.cc
index e46ce8adf2d..b9cd6e02cc8 100644
--- a/src/rgw/rgw_file.cc
+++ b/src/rgw/rgw_file.cc
@@ -1786,7 +1786,7 @@ namespace rgw {
state->object->set_bucket(state->bucket.get());
auto compression_type =
- get_store()->get_zone_params().get_compression_type(
+ get_store()->get_zone()->get_params().get_compression_type(
state->bucket->get_placement_rule());
/* not obviously supportable */