mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-27 15:37:02 +00:00
fix(filemeta): inline_data key
This commit is contained in:
@@ -1855,12 +1855,12 @@ impl MetaObject {
|
||||
|
||||
pub fn inlinedata(&self) -> bool {
|
||||
self.meta_sys
|
||||
.contains_key(format!("{}inline", RESERVED_METADATA_PREFIX_LOWER).as_str())
|
||||
.contains_key(format!("{}inline-data", RESERVED_METADATA_PREFIX_LOWER).as_str())
|
||||
}
|
||||
|
||||
pub fn reset_inline_data(&mut self) {
|
||||
self.meta_sys
|
||||
.remove(format!("{}inline", RESERVED_METADATA_PREFIX_LOWER).as_str());
|
||||
.remove(format!("{}inline-data", RESERVED_METADATA_PREFIX_LOWER).as_str());
|
||||
}
|
||||
|
||||
/// Remove restore headers
|
||||
|
||||
Reference in New Issue
Block a user