We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 538be0d + 9492655 commit 2971b9eCopy full SHA for 2971b9e
src/rgw/rgw_zone.cc
@@ -790,7 +790,9 @@ void RGWZonePlacementInfo::decode_json(JSONObj *obj)
790
JSONDecoder::decode_json("data_extra_pool", data_extra_pool, obj);
791
uint32_t it;
792
JSONDecoder::decode_json("index_type", it, obj);
793
- JSONDecoder::decode_json("inline_data", inline_data, obj);
+ if(!JSONDecoder::decode_json("inline_data", inline_data, obj)) {
794
+ inline_data = true;
795
+ }
796
index_type = (rgw::BucketIndexType)it;
797
798
/* backward compatibility, these are now defined in storage_classes */
0 commit comments