added a check and set inline_data to true if the default value was not true
Fixes: https://tracker.ceph.com/issues/67933
Signed-off-by: umesh-mv <umeshmuthuvara@gmail.com>
JSONDecoder::decode_json("data_extra_pool", data_extra_pool, obj);
uint32_t it;
JSONDecoder::decode_json("index_type", it, obj);
- JSONDecoder::decode_json("inline_data", inline_data, obj);
+ if(!JSONDecoder::decode_json("inline_data", inline_data, obj)) {
+ inline_data = true;
+ }
index_type = (rgw::BucketIndexType)it;
/* backward compatibility, these are now defined in storage_classes */